Fix typo in unit test and add string literal access
This commit is contained in:
@@ -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])
|
Reference in New Issue
Block a user