improve tests just a bit (#79)

This commit is contained in:
Josh Goebel
2021-04-28 14:45:50 -07:00
committed by GitHub
parent 9b81aec7e4
commit fcea7ba1d5
3 changed files with 13 additions and 1 deletions
+1
View File
@@ -5,3 +5,4 @@ System.print(Process.version.isEmpty) // expect: false
var isNumber = Fn.new {|str| Num.fromString(str) != null }
System.print(Process.version.split(".").all(isNumber)) // expect: true
System.print(Process.version.split(".").count) // expect: 3