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:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user