diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/gleam/string_test.gleam | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/gleam/string_test.gleam b/test/gleam/string_test.gleam index 31c93ad..56b50a0 100644 --- a/test/gleam/string_test.gleam +++ b/test/gleam/string_test.gleam @@ -368,15 +368,15 @@ pub fn to_option_test() { pub fn first_test() { "" |> string.first - |> should.equal(None) + |> should.be_error "gleam" |> string.first - |> should.equal(Some("g")) + |> should.equal(Ok("g")) "⭐️ Gleam" |> string.first - |> should.equal(Some("⭐️")) + |> should.equal(Ok("⭐️")) } pub fn last_test() { |