diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-09-17 00:31:55 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-09-17 00:31:55 -0700 |
commit | 08f4628e8b858120fe3547d8e5431d9abfe46bf8 (patch) | |
tree | 4d9f1bc0039baefa0e84d9cb3ea6634f4337d342 /089scenario_filesystem.cc | |
parent | 58a9f7c34e21541f2db90b7fb66f4e92f04780ef (diff) | |
download | mu-08f4628e8b858120fe3547d8e5431d9abfe46bf8.tar.gz |
3379
Can't use type abbreviations inside 'memory-should-contain'.
Diffstat (limited to '089scenario_filesystem.cc')
-rw-r--r-- | 089scenario_filesystem.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/089scenario_filesystem.cc b/089scenario_filesystem.cc index 2b6f82a5..e45264d3 100644 --- a/089scenario_filesystem.cc +++ b/089scenario_filesystem.cc @@ -23,19 +23,19 @@ scenario assume-filesystem [ data:address:array:file-mapping <- get *filesystem:address:filesystem, data:offset file1:file-mapping <- index *data, 0 file1-name:text <- get file1, name:offset - 10:array:character/raw <- copy *file1-name + 10:array:char/raw <- copy *file1-name file1-contents:text <- get file1, contents:offset - 100:array:character/raw <- copy *file1-contents + 100:array:char/raw <- copy *file1-contents file2:file-mapping <- index *data, 1 file2-name:text <- get file2, name:offset - 30:array:character/raw <- copy *file2-name + 30:array:char/raw <- copy *file2-name file2-contents:text <- get file2, contents:offset - 40:array:character/raw <- copy *file2-contents + 40:array:char/raw <- copy *file2-contents file3:file-mapping <- index *data, 2 file3-name:text <- get file3, name:offset - 50:array:character/raw <- copy *file3-name + 50:array:char/raw <- copy *file3-name file3-contents:text <- get file3, contents:offset - 60:array:character/raw <- copy *file3-contents + 60:array:char/raw <- copy *file3-contents memory-should-contain [ 10:array:character <- [a] 100:array:character <- [a bc @@ -62,9 +62,9 @@ scenario assume-filesystem [ data:address:array:file-mapping <- get *filesystem:address:filesystem, data:offset file1:file-mapping <- index *data, 0 file1-name:text <- get file1, name:offset - 10:array:character/raw <- copy *file1-name + 10:array:char/raw <- copy *file1-name file1-contents:text <- get file1, contents:offset - 20:array:character/raw <- copy *file1-contents + 20:array:char/raw <- copy *file1-contents memory-should-contain [ 10:array:character <- [a] 20:array:character <- [x|yz |