From 204dae921abff0c70e017215bb3c91fa6ca11aff Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 26 Dec 2016 11:44:14 -0800 Subject: 3710 Turns out we don't need to explicitly add anchors for each line. Vim's TOhtml has magic for that out of the box. --- html/083scenario_screen_test.mu.html | 64 ++++++++++++++++++------------------ 1 file changed, 32 insertions(+), 32 deletions(-) (limited to 'html/083scenario_screen_test.mu.html') diff --git a/html/083scenario_screen_test.mu.html b/html/083scenario_screen_test.mu.html index f602ba51..3ed30df1 100644 --- a/html/083scenario_screen_test.mu.html +++ b/html/083scenario_screen_test.mu.html @@ -52,38 +52,38 @@ if ('onhashchange' in window) {
- 1 # To check our support for screens in scenarios, rewrite tests from print.mu
- 2 
- 3 scenario print-character-at-top-left-2 [
- 4   local-scope
- 5   assume-screen 3/width, 2/height
- 6   run [
- 7     a:char <- copy 97/a
- 8     screen:&:screen <- print screen:&:screen, a
- 9   ]
-10   screen-should-contain [
-11     .a  .
-12     .   .
-13   ]
-14 ]
-15 
-16 scenario clear-line-erases-printed-characters-2 [
-17   local-scope
-18   assume-screen 5/width, 3/height
-19   # print a character
-20   a:char <- copy 97/a
-21   screen:&:screen <- print screen:&:screen, a
-22   # move cursor to start of line
-23   screen:&:screen <- move-cursor screen:&:screen, 0/row, 0/column
-24   run [
-25     screen:&:screen <- clear-line screen:&:screen
-26   ]
-27   screen-should-contain [
-28     .     .
-29     .     .
-30     .     .
-31   ]
-32 ]
+ 1 # To check our support for screens in scenarios, rewrite tests from print.mu
+ 2 
+ 3 scenario print-character-at-top-left-2 [
+ 4   local-scope
+ 5   assume-screen 3/width, 2/height
+ 6   run [
+ 7     a:char <- copy 97/a
+ 8     screen:&:screen <- print screen:&:screen, a
+ 9   ]
+10   screen-should-contain [
+11     .a  .
+12     .   .
+13   ]
+14 ]
+15 
+16 scenario clear-line-erases-printed-characters-2 [
+17   local-scope
+18   assume-screen 5/width, 3/height
+19   # print a character
+20   a:char <- copy 97/a
+21   screen:&:screen <- print screen:&:screen, a
+22   # move cursor to start of line
+23   screen:&:screen <- move-cursor screen:&:screen, 0/row, 0/column
+24   run [
+25     screen:&:screen <- clear-line screen:&:screen
+26   ]
+27   screen-should-contain [
+28     .     .
+29     .     .
+30     .     .
+31   ]
+32 ]
 
-- cgit 1.4.1-2-gfad0