about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--089scenario_filesystem.cc6
-rw-r--r--090scenario_filesystem_test.mu8
2 files changed, 6 insertions, 8 deletions
diff --git a/089scenario_filesystem.cc b/089scenario_filesystem.cc
index 6f65b06f..f5b7d5db 100644
--- a/089scenario_filesystem.cc
+++ b/089scenario_filesystem.cc
@@ -1,8 +1,6 @@
 //: Clean syntax to manipulate and check the file system in scenarios.
-//: Instructions 'assume-resources' and 'resources-should-contain' implicitly create
-//: a variable called 'resources' that is accessible to later instructions in
-//: the scenario. 'resources-should-contain' can check unicode characters in
-//: the fake resources
+//: Instruction 'assume-resources' implicitly creates a variable called
+//: 'resources' that is accessible to later instructions in the scenario.
 
 :(scenarios run_mu_scenario)
 :(scenario simple_filesystem)
diff --git a/090scenario_filesystem_test.mu b/090scenario_filesystem_test.mu
index fe737300..c33eeb81 100644
--- a/090scenario_filesystem_test.mu
+++ b/090scenario_filesystem_test.mu
@@ -7,7 +7,7 @@ scenario read-from-fake-file [
       |xyz|
     ]
   ]
-  contents:&:source:char <- start-reading resources:&:resources, [a]
+  contents:&:source:char <- start-reading resources, [a]
   1:char/raw <- read contents
   2:char/raw <- read contents
   3:char/raw <- read contents
@@ -26,7 +26,7 @@ scenario write-to-fake-file [
   local-scope
   assume-resources [
   ]
-  sink:&:sink:char, writer:num/routine <- start-writing resources:&:resources, [a]
+  sink:&:sink:char, writer:num/routine <- start-writing resources, [a]
   sink <- write sink, 120/x
   sink <- write sink, 121/y
   close sink
@@ -43,7 +43,7 @@ scenario write-to-fake-file-that-exists [
   assume-resources [
     [a] <- []
   ]
-  sink:&:sink:char, writer:num/routine <- start-writing resources:&:resources, [a]
+  sink:&:sink:char, writer:num/routine <- start-writing resources, [a]
   sink <- write sink, 120/x
   sink <- write sink, 121/y
   close sink
@@ -63,7 +63,7 @@ scenario write-to-existing-file-preserves-other-files [
       |bcd|
     ]
   ]
-  sink:&:sink:char, writer:num/routine <- start-writing resources:&:resources, [a]
+  sink:&:sink:char, writer:num/routine <- start-writing resources, [a]
   sink <- write sink, 120/x
   sink <- write sink, 121/y
   close sink