summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--doc/manual.rst2
-rw-r--r--tests/stdlib/tmemfiles2.nim2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual.rst b/doc/manual.rst
index 5ca6da22e..4ab680326 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 d6cfa533a..f49c013f2 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'''
 """