on master help sign in
Merge pull request #564 from maxsnew/fix-test

Update test case to match new example

commita863e31080b8a8d0d8c38498132cd3ab1a73bfe5 authorEvan Czaplicki <info@elm-lang.org> dateThu 3 Apr 2014, 20:01 (13 years ago) parent97a28053d835eb
1 file changed+1−1
tests/elm/Test/String.elm+1−1
tests/elm/Test/String.elm+1−1
@@ -18,7 +18,7 @@ tests =
1818 appendTest = test "append test" <| assertEqual "butterfly" (append "butter" "fly")
1919 concatTest = test "concat test" <| assertEqual "nevertheless" (concat ["never","the","less"])
2020 splitTests = [test "split commas" <| assertEqual ["cat","dog","cow"] (split "," "cat,dog,cow"),
21− test "split slashes"<| assertEqual ["home","evan","Desktop"] (split "/" "home/evan/Desktop/")]
21+ test "split slashes"<| assertEqual ["home","evan","Desktop", ""] (split "/" "home/evan/Desktop/")]
2222 joinTests = [test "join spaces" <| assertEqual "cat dog cow" (join " " ["cat","dog","cow"]),
2323 test "join slashes" <| assertEqual "home/evan/Desktop" (join "/" ["home","evan","Desktop"])]
2424