1
0
forked from Mirror/wren

Rename a couple of files and tweak some docs.

This commit is contained in:
Bob Nystrom
2015-01-11 19:13:15 -08:00
parent 7557c91b3c
commit bc29e0929e
6 changed files with 11 additions and 10 deletions

View File

@ -1,4 +1,4 @@
IO.print("abcd".indexOf("cd")) // expect: 2
IO.print("abcd".indexOf("a")) // expect: 0
IO.print("abcd".indexOf("abcde")) // expect: -1
IO.print("abab".indexOf("ab")) // expect: 0
IO.print("abab".indexOf("ab")) // expect: 0

View File

@ -1 +1 @@
IO.print("abcd".indexOf(null)) // expect runtime error: Argument must be a string.
IO.print("abcd".indexOf(null)) // expect runtime error: Argument must be a string.

View File

@ -2,4 +2,4 @@ IO.print("abcd".startsWith("cd")) // expect: false
IO.print("abcd".startsWith("a")) // expect: true
IO.print("abcd".startsWith("abcd")) // expect: true
IO.print("abcd".startsWith("abcde")) // expect: false
IO.print("abcd".startsWith("")) // expect: true
IO.print("abcd".startsWith("")) // expect: true

View File

@ -1 +1 @@
IO.print("abcd".startsWith(null)) // expect runtime error: Argument must be a string.
IO.print("abcd".startsWith(null)) // expect runtime error: Argument must be a string.