From 27a8ee58fbaf62f8a1df510cc52fdad6e77e420a Mon Sep 17 00:00:00 2001 From: inoas Date: Sun, 4 Dec 2022 19:58:37 +0100 Subject: revert unrelated test changes --- test/gleam/string_test.gleam | 27 ++------------------------- 1 file changed, 2 insertions(+), 25 deletions(-) (limited to 'test') diff --git a/test/gleam/string_test.gleam b/test/gleam/string_test.gleam index 5aad968..ddbb98e 100644 --- a/test/gleam/string_test.gleam +++ b/test/gleam/string_test.gleam @@ -351,14 +351,6 @@ pub fn pop_grapheme_test() { |> string.pop_grapheme |> should.equal(Ok(#("g", ""))) - "πŸ³οΈβ€πŸŒˆ" - |> string.pop_grapheme - |> should.equal(Ok(#("πŸ³οΈβ€πŸŒˆ", ""))) - - "πŸ‘¨β€πŸ‘©β€πŸ‘¦β€πŸ‘¦" - |> string.pop_grapheme() - |> should.equal(Ok(#("πŸ‘¨β€πŸ‘©β€πŸ‘¦β€πŸ‘¦", ""))) - "" |> string.pop_grapheme |> should.equal(Error(Nil)) @@ -381,17 +373,9 @@ pub fn to_graphemes_test() { |> string.to_graphemes |> should.equal(["a", "b", "c"]) - "πŸŒ·πŸŽπŸ’©πŸ˜œπŸ‘" - |> string.to_graphemes - |> should.equal(["🌷", "🎁", "πŸ’©", "😜", "πŸ‘"]) - - "πŸ³οΈβ€πŸŒˆ" - |> string.to_graphemes - |> should.equal(["πŸ³οΈβ€πŸŒˆ"]) - - "πŸŽπŸ³οΈβ€πŸŒˆπŸŒ·" + "πŸŒ·πŸŽπŸ’©πŸ˜œπŸ‘πŸ³οΈβ€πŸŒˆ" |> string.to_graphemes - |> should.equal(["🎁", "πŸ³οΈβ€πŸŒˆ", "🌷"]) + |> should.equal(["🌷", "🎁", "πŸ’©", "😜", "πŸ‘", "πŸ³οΈβ€πŸŒˆ"]) "ΔΉoΝ‚Ε™Θ©mΜ…" |> string.to_graphemes @@ -405,13 +389,6 @@ pub fn to_graphemes_test() { |> string.to_graphemes() |> should.equal(["πŸ‘¨β€πŸ‘©β€πŸ‘¦β€πŸ‘¦"]) - "πŸ‘¨β€πŸ‘©β€πŸ‘¦β€πŸ‘¦πŸ³οΈβ€πŸŒˆπŸ‘¨β€πŸ‘©β€πŸ‘¦β€πŸ‘¦πŸ³οΈβ€πŸŒˆ" - |> string.to_graphemes() - |> should.equal([ - "πŸ‘¨β€πŸ‘©β€πŸ‘¦β€πŸ‘¦", "πŸ³οΈβ€πŸŒˆ", "πŸ‘¨β€πŸ‘©β€πŸ‘¦β€πŸ‘¦", - "πŸ³οΈβ€πŸŒˆ", - ]) - "ごん゙に゙げば" |> string.to_graphemes() |> should.equal(["ご", "γ‚“γ‚™", "に゙", "げ", "ば"]) -- cgit v1.2.3