diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-09-15 01:01:58 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-09-15 01:01:58 -0700 |
commit | 0ca56ed853c3d9bc8c26d1b014d8b665363fc2d0 (patch) | |
tree | abd2d2e4b65c34797a635aeb2f7d06c9d65c7bf9 /html/090scenario_filesystem_test.mu.html | |
parent | 36b927a63cb25e9fc64cf4ae079b32d23d528b1b (diff) | |
download | mu-0ca56ed853c3d9bc8c26d1b014d8b665363fc2d0.tar.gz |
3355
Diffstat (limited to 'html/090scenario_filesystem_test.mu.html')
-rw-r--r-- | html/090scenario_filesystem_test.mu.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/html/090scenario_filesystem_test.mu.html b/html/090scenario_filesystem_test.mu.html index dc20709d..094f5e5d 100644 --- a/html/090scenario_filesystem_test.mu.html +++ b/html/090scenario_filesystem_test.mu.html @@ -64,7 +64,7 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color sink<span class="Special"> <- </span>write sink, <span class="Constant">121/y</span> close sink wait-for-routine writer - contents-read-back:address:array:character<span class="Special"> <- </span>slurp filesystem, <span class="Constant">[a]</span> + contents-read-back:text<span class="Special"> <- </span>slurp filesystem, <span class="Constant">[a]</span> <span class="Constant">10</span>:boolean/<span class="Special">raw <- </span>equal contents-read-back, <span class="Constant">[xy]</span> memory-should-contain [ <span class="Constant">10</span><span class="Special"> <- </span><span class="Constant">1</span> <span class="Comment"># file contents read back exactly match what was written</span> @@ -81,7 +81,7 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color sink<span class="Special"> <- </span>write sink, <span class="Constant">121/y</span> close sink wait-for-routine writer - contents-read-back:address:array:character<span class="Special"> <- </span>slurp filesystem, <span class="Constant">[a]</span> + contents-read-back:text<span class="Special"> <- </span>slurp filesystem, <span class="Constant">[a]</span> <span class="Constant">10</span>:boolean/<span class="Special">raw <- </span>equal contents-read-back, <span class="Constant">[xy]</span> memory-should-contain [ <span class="Constant">10</span><span class="Special"> <- </span><span class="Constant">1</span> <span class="Comment"># file contents read back exactly match what was written</span> @@ -101,9 +101,9 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color sink<span class="Special"> <- </span>write sink, <span class="Constant">121/y</span> close sink wait-for-routine writer - contents-read-back:address:array:character<span class="Special"> <- </span>slurp filesystem, <span class="Constant">[a]</span> + contents-read-back:text<span class="Special"> <- </span>slurp filesystem, <span class="Constant">[a]</span> <span class="Constant">10</span>:boolean/<span class="Special">raw <- </span>equal contents-read-back, <span class="Constant">[xy]</span> - other-file-contents:address:array:character<span class="Special"> <- </span>slurp filesystem, <span class="Constant">[b]</span> + other-file-contents:text<span class="Special"> <- </span>slurp filesystem, <span class="Constant">[b]</span> <span class="Constant">11</span>:boolean/<span class="Special">raw <- </span>equal other-file-contents, <span class="Constant">[bcd</span> <span class="Constant">]</span> memory-should-contain [ @@ -112,7 +112,7 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color ] ] -<span class="muRecipe">def</span> slurp fs:address:filesystem, filename:address:array:character<span class="muRecipe"> -> </span>contents:address:array:character [ +<span class="muRecipe">def</span> slurp fs:address:filesystem, filename:text<span class="muRecipe"> -> </span>contents:text [ <span class="Constant">local-scope</span> <span class="Constant">load-ingredients</span> source:address:source:character<span class="Special"> <- </span>start-reading fs, filename |