diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-10-15 23:56:30 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-10-15 23:56:30 -0700 |
commit | 9ed95defa5f0b8da0f5ce1fc24bad2323496fa70 (patch) | |
tree | 8e99fbfde6bc17ba1f872cf44505712c8a3186fb /090scenario_filesystem_test.mu | |
parent | 0893d65e27e00e123d8d4f58a4c50dabe32ae7fa (diff) | |
download | mu-9ed95defa5f0b8da0f5ce1fc24bad2323496fa70.tar.gz |
3505
Diffstat (limited to '090scenario_filesystem_test.mu')
-rw-r--r-- | 090scenario_filesystem_test.mu | 8 |
1 files changed, 4 insertions, 4 deletions
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 |