Skip to content

Commit f006e4c

Browse files
authored
Merge pull request #543 from rbasso/matrix-remove-fromString
matrix: Remove string tests
2 parents f46dd9c + b449920 commit f006e4c

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

exercises/matrix/test/Tests.hs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -69,16 +69,3 @@ specs = do
6969

7070
it "flatten" $
7171
flatten (intMatrix "1 2\n3 4") `shouldBe` vector [1, 2, 3, 4]
72-
73-
it "matrix of chars" $
74-
fromString "'f' 'o' 'o'\n'b' 'a' 'r'" `shouldBe` fromList ["foo", "bar"]
75-
76-
it "matrix of strings" $
77-
fromString "\"this one\"\n\"may be tricky!\""
78-
`shouldBe` fromList [ ["this one" ]
79-
, ["may be tricky!"] ]
80-
81-
it "matrix of strings 2" $
82-
fromString "\"this one\" \"one\" \n\"may be tricky!\" \"really tricky\""
83-
`shouldBe` fromList [ ["this one" , "one" ]
84-
, ["may be tricky!", "really tricky"] ]

0 commit comments

Comments
 (0)