diff options
author | McKayla Washburn <mckayla@hey.com> | 2022-03-08 10:39:40 -0700 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2022-03-08 17:48:43 +0000 |
commit | b94561e5216559c5ecb54d74fd98c78836dd65ce (patch) | |
tree | 5739fa169cd55d0571bd5c4102586e918b77fe9d /test | |
parent | aa5aca4c524af2795dab562a367d741e3c46629c (diff) | |
download | gleam_stdlib-b94561e5216559c5ecb54d74fd98c78836dd65ce.tar.gz gleam_stdlib-b94561e5216559c5ecb54d74fd98c78836dd65ce.zip |
Tests + docs
Diffstat (limited to 'test')
-rw-r--r-- | test/gleam/bool_test.gleam | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/gleam/bool_test.gleam b/test/gleam/bool_test.gleam index 3edea25..17d8b12 100644 --- a/test/gleam/bool_test.gleam +++ b/test/gleam/bool_test.gleam @@ -115,3 +115,11 @@ pub fn to_int_test() { bool.to_int(False) |> should.equal(0) } + +pub fn to_string_test() { + bool.to_string(True) + |> should.equal("True") + + bool.to_string(False) + |> should.equal("False") +} |