tests: Updated `test_substring` for edge case in `ASCIIFlatString::substring`
authorLucas Bajolet <r4pass@hotmail.com>
Mon, 16 May 2016 20:01:36 +0000 (16:01 -0400)
committerLucas Bajolet <r4pass@hotmail.com>
Mon, 16 May 2016 20:01:36 +0000 (16:01 -0400)
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

tests/sav/test_substring.res
tests/test_substring.nit

index f40c047..54cb7f8 100644 (file)
@@ -43,3 +43,6 @@ test.has_suffix("test") => true
 test.has_suffix("bt") => false
 test.has_suffix("bat") => false
 test.has_suffix("foot") => false
+........
+
+........
index c2393aa..ed7d73d 100644 (file)
@@ -75,3 +75,6 @@ print("test.has_suffix(\"bt\") => {test.has_suffix("bt")}")
 print("test.has_suffix(\"bat\") => {test.has_suffix("bat")}")
 print("test.has_suffix(\"foot\") => {test.has_suffix("foot")}")
 
+print "........"
+print "/".substring(7, 1)
+print "........"