feat(eval): partially port v8.1.1915

Cannot be fully ported as chdir() hasn't been ported yet.
This commit is contained in:
Sean Dewar
2021-08-07 22:39:23 +01:00
parent 56b56a76e8
commit 5d88349817
9 changed files with 72 additions and 25 deletions

View File

@@ -1093,7 +1093,7 @@ func Test_col()
call assert_equal(7, col('$'))
call assert_equal(4, col("'x"))
call assert_equal(6, col("'Y"))
call assert_equal(2, col([1, 2]))
call assert_equal(2, [1, 2]->col())
call assert_equal(7, col([1, '$']))
call assert_equal(0, col(''))