Fix typo in unit test and add string literal access

This commit is contained in:
Jonathan Turner 2011-06-13 18:14:41 -07:00
parent 9d20f60903
commit 9a015a5c49
2 changed files with 2 additions and 1 deletions

View File

@ -7,4 +7,4 @@ var b = Bob();
assert_equal(b.bob3()[0], 1);
assert_equal((b.bob3())[1, 2);
assert_equal((b.bob3())[1], 2);

View File

@ -0,0 +1 @@
assert_equal('b', "abc"[1])