1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-18 01:07:40 +00:00

Update Makefile, json native module,

and test suite 2.
This commit is contained in:
Calvin Rose
2018-10-04 17:25:46 -04:00
parent f41dab8f6c
commit e8a4e83a0d
3 changed files with 10 additions and 9 deletions

View File

@@ -71,6 +71,8 @@
(assert (= (string.join @[] "hi") "") "string.join 4")
(assert (deep= (string.split "," "one,two,three") @["one" "two" "three"]) "string.split 1")
(assert (deep= (string.split "," "onetwothree") @["onetwothree"]) "string.split 2")
(assert (deep= (string.find-all "e" "onetwothree") @[2 9 10]) "string.find-all 1")
(assert (deep= (string.find-all "," "onetwothree") @[]) "string.find-all 2")
(end-suite)