about summary refs log tree commit diff stats
path: root/072scenario_screen.cc
diff options
context:
space:
mode:
Diffstat (limited to '072scenario_screen.cc')
-rw-r--r--072scenario_screen.cc30
1 files changed, 15 insertions, 15 deletions
diff --git a/072scenario_screen.cc b/072scenario_screen.cc
index d456a8d8..2b885d58 100644
--- a/072scenario_screen.cc
+++ b/072scenario_screen.cc
@@ -7,9 +7,9 @@
 :(scenarios run_mu_scenario)
 :(scenario screen_in_scenario)
 scenario screen-in-scenario [
-  assume-screen 5:literal/width, 3:literal/height
+  assume-screen 5/width, 3/height
   run [
-    screen:address <- print-character screen:address, 97:literal  # 'a'
+    screen:address <- print-character screen:address, 97  # 'a'
   ]
   screen-should-contain [
   #  01234
@@ -21,10 +21,10 @@ scenario screen-in-scenario [
 
 :(scenario screen_in_scenario_unicode)
 scenario screen-in-scenario-unicode-color [
-  assume-screen 5:literal/width, 3:literal/height
+  assume-screen 5/width, 3/height
   run [
-    screen:address <- print-character screen:address, 955:literal/greek-small-lambda, 1:literal/red
-    screen:address <- print-character screen:address, 97:literal/a
+    screen:address <- print-character screen:address, 955/greek-small-lambda, 1/red
+    screen:address <- print-character screen:address, 97/a
   ]
   screen-should-contain [
   #  01234
@@ -37,10 +37,10 @@ scenario screen-in-scenario-unicode-color [
 :(scenario screen_in_scenario_color)
 # screen-should-contain can check unicode characters in the fake screen
 scenario screen-in-scenario-color [
-  assume-screen 5:literal/width, 3:literal/height
+  assume-screen 5/width, 3/height
   run [
-    screen:address <- print-character screen:address, 955:literal/greek-small-lambda, 1:literal/red
-    screen:address <- print-character screen:address, 97:literal/a, 7:literal/white
+    screen:address <- print-character screen:address, 955/greek-small-lambda, 1/red
+    screen:address <- print-character screen:address, 97/a, 7/white
   ]
   # screen-should-contain shows everything
   screen-should-contain [
@@ -51,14 +51,14 @@ scenario screen-in-scenario-color [
   ]
   # screen-should-contain-in-color filters out everything except the given
   # color, all you see is the 'a' in white.
-  screen-should-contain-in-color 7:literal/white, [
+  screen-should-contain-in-color 7/white, [
   #  01234
     . a   .
     .     .
     .     .
   ]
   # ..and the λ in red.
-  screen-should-contain-in-color 1:literal/red, [
+  screen-should-contain-in-color 1/red, [
   #  01234
     .λ    .
     .     .
@@ -70,9 +70,9 @@ scenario screen-in-scenario-color [
 % Scenario_testing_scenario = true;
 % Hide_warnings = true;
 scenario screen-in-scenario-error [
-  assume-screen 5:literal/width, 3:literal/height
+  assume-screen 5/width, 3/height
   run [
-    screen:address <- print-character screen:address, 97:literal  # 'a'
+    screen:address <- print-character screen:address, 97  # 'a'
   ]
   screen-should-contain [
   #  01234
@@ -88,11 +88,11 @@ scenario screen-in-scenario-error [
 % Hide_warnings = true;
 # screen-should-contain can check unicode characters in the fake screen
 scenario screen-in-scenario-color [
-  assume-screen 5:literal/width, 3:literal/height
+  assume-screen 5/width, 3/height
   run [
-    screen:address <- print-character screen:address, 97:literal/a, 1:literal/red
+    screen:address <- print-character screen:address, 97/a, 1/red
   ]
-  screen-should-contain-in-color 2:literal/green, [
+  screen-should-contain-in-color 2/green, [
   #  01234
     .a    .
     .     .
s revision' href='/akspecs/aerc/blame/commands/term.go?h=0.5.2&id=16c3f0a89309541e36a2de22e91176fd13c67898'>^
16c3f0a ^



dee0f89 ^
fa04a1e ^
dee0f89 ^

2958579 ^
dee0f89 ^

589db74 ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45