Fix typo in unit test and add string literal access
This commit is contained in:
parent
9d20f60903
commit
9a015a5c49
@ -7,4 +7,4 @@ var b = Bob();
|
|||||||
|
|
||||||
|
|
||||||
assert_equal(b.bob3()[0], 1);
|
assert_equal(b.bob3()[0], 1);
|
||||||
assert_equal((b.bob3())[1, 2);
|
assert_equal((b.bob3())[1], 2);
|
||||||
|
1
unittests/string_literal_access.chai
Normal file
1
unittests/string_literal_access.chai
Normal file
@ -0,0 +1 @@
|
|||||||
|
assert_equal('b', "abc"[1])
|
Loading…
x
Reference in New Issue
Block a user