From 2833b8296d26100bfa75a6bffd0b2a58b925f72a Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Fri, 30 May 2014 11:02:56 -0400 Subject: [PATCH] tests: update highlight and cie because `.` is no more an operator Signed-off-by: Jean Privat --- tests/sav/nitlight_args1.res | 26 +++++++++++++------------- tests/sav/test_markdown_args1.res | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/tests/sav/nitlight_args1.res b/tests/sav/nitlight_args1.res index 6f3e0b4..a5f5d72 100644 --- a/tests/sav/nitlight_args1.res +++ b/tests/sav/nitlight_args1.res @@ -27,18 +27,18 @@ end class A - init do 5.output - fun run do 6.output + init do 5.output + fun run do 6.output end class B var val: Int init(v: Int) do - 7.output - self.val = v + 7.output + self.val = v end - fun run do val.output + fun run do val.output end class C @@ -46,22 +46,22 @@ var val2: Int = 10 end -fun foo do 2.output -fun bar(i: Int) do i.output +fun foo do 2.output +fun bar(i: Int) do i.output fun baz: Int do return 4 -1.output +1.output foo bar(3) -baz.output +baz.output var a = new A -a.run +a.run var b = new B(8) -b.run +b.run var c = new C(9) -c.val1.output -c.val2.output +c.val1.output +c.val2.output \ No newline at end of file diff --git a/tests/sav/test_markdown_args1.res b/tests/sav/test_markdown_args1.res index ae5bfb0..02a4cc3 100644 --- a/tests/sav/test_markdown_args1.res +++ b/tests/sav/test_markdown_args1.res @@ -57,5 +57,5 @@ bullet
block
 

a first example

assert 1 + 1 == 2
 

and a last example to illustrate the to_s method on A.

var a = new A
-assert a.to_s == "A"
+assert a.to_s == "A"
 
\ No newline at end of file -- 1.7.9.5