From 32230ffe31e1f338a6191090b182ebbbfdd6cbca Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Fri, 6 Jul 2018 17:26:45 +0200 Subject: [PATCH] make tests green again --- doc/manual.rst | 2 +- tests/stdlib/tmemfiles2.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/manual.rst b/doc/manual.rst index 5ca6da22e1..4ab6803265 100644 --- a/doc/manual.rst +++ b/doc/manual.rst @@ -5160,7 +5160,7 @@ template cannot be accessed in the instantiation context: # so this works: let e = "message" - raise newException(EIO, e) + raise newException(IoError, e) Whether a symbol that is declared in a template is exposed to the instantiation diff --git a/tests/stdlib/tmemfiles2.nim b/tests/stdlib/tmemfiles2.nim index d6cfa533a4..f49c013f2d 100644 --- a/tests/stdlib/tmemfiles2.nim +++ b/tests/stdlib/tmemfiles2.nim @@ -1,5 +1,5 @@ discard """ - file: "tmemfiles2.nim" + disabled: "Windows" output: '''Full read size: 20 Half read size: 10 Data: Hello''' """