about summary refs log tree commit diff stats
path: root/cpp/071print.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-02 15:52:22 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-02 22:56:13 -0700
commit22b3069272c1a177e814a7c4e769e20858e2b368 (patch)
tree761199b26823fe5ba11af66108e95ece1bc4f02c /cpp/071print.mu
parenta316f1e4168a98ba8c1bbe7b091f8a7e7b3f03e6 (diff)
downloadmu-22b3069272c1a177e814a7c4e769e20858e2b368.tar.gz
1242 - simpler implementation for 'scenario'
Also now has the side effect that scenarios can have any number of 'run'
or check or any future blocks, in any order.
Diffstat (limited to 'cpp/071print.mu')
-rw-r--r--cpp/071print.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/071print.mu b/cpp/071print.mu
index b34f9844..6789ff89 100644
--- a/cpp/071print.mu
+++ b/cpp/071print.mu
@@ -89,7 +89,7 @@ scenario print-character-at-top-left [
     2:address:array:character <- get 1:address:screen/deref, data:offset
     3:array:character <- copy 2:address:array:character/deref
   ]
-  memory should contain [
+  memory-should-contain [
     3 <- 6  # width*height
     4 <- 97  # 'a'
     5 <- 0
@@ -168,7 +168,7 @@ scenario clear-line-erases-printed-characters [
     3:array:character <- copy 2:address:array:character/deref
   ]
   # screen should be blank
-  memory should contain [
+  memory-should-contain [
     3 <- 6  # width*height
     4 <- 0
     5 <- 0