about summary refs log tree commit diff stats
path: root/073scenario_screen_test.mu
diff options
context:
space:
mode:
Diffstat (limited to '073scenario_screen_test.mu')
-rw-r--r--073scenario_screen_test.mu10
1 files changed, 5 insertions, 5 deletions
diff --git a/073scenario_screen_test.mu b/073scenario_screen_test.mu
index fa1a026c..79831ca0 100644
--- a/073scenario_screen_test.mu
+++ b/073scenario_screen_test.mu
@@ -1,9 +1,9 @@
 # To check our support for screens in scenarios, rewrite tests from print.mu
 
 scenario print-character-at-top-left2 [
-  assume-screen 3:literal/width, 2:literal/height
+  assume-screen 3/width, 2/height
   run [
-    screen:address <- print-character screen:address, 97:literal  # 'a'
+    screen:address <- print-character screen:address, 97/a
   ]
   screen-should-contain [
     .a  .
@@ -12,12 +12,12 @@ scenario print-character-at-top-left2 [
 ]
 
 scenario clear-line-erases-printed-characters2 [
-  assume-screen 5:literal/width, 3:literal/height
+  assume-screen 5/width, 3/height
   run [
     # print a character
-    screen:address <- print-character screen:address, 97:literal  # 'a'
+    screen:address <- print-character screen:address, 97/a
     # move cursor to start of line
-    screen:address <- move-cursor screen:address, 0:literal/row, 0:literal/column
+    screen:address <- move-cursor screen:address, 0/row, 0/column
     # clear line
     screen:address <- clear-line screen:address
   ]