Skip to content

Commit

Permalink
fixup! Write test cases and stub functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
kindaro committed Feb 15, 2024
1 parent fe45845 commit 4165f6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Tests/ShareEmpty.hs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ tests = testGroup "empty Text values are shared"
, testCase "tails empty = [empty]" $ mapM_ assertPtrEqEmpty $ T.tails empty
, testCase "tailsNE empty = singleton empty" $ mapM_ assertPtrEqEmpty $ T.tailsNE empty
, testCase "tails _ = [..., empty]" $ assertPtrEqEmpty $ L.last $ T.tails "123"
, testCase "tailsNE _ = reverse (empty :| )" $ assertPtrEqEmpty $ NonEmptyList.last $ T.tailsNE "123"
, testCase "tailsNE _ = reverse (empty :| ...)" $ assertPtrEqEmpty $ NonEmptyList.last $ T.tailsNE "123"
, testCase "split _ empty = [empty]" $ mapM_ assertPtrEqEmpty $ T.split (== 'a') ""
, testCase "filter (const False) _ = empty" $ assertPtrEqEmpty $ T.filter (const False) "1234"
, testCase "zipWith const empty empty = empty" $ assertPtrEqEmpty $ T.zipWith const "" ""
Expand Down

0 comments on commit 4165f6a

Please sign in to comment.