aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/gleam/bit_builder_test.gleam6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/gleam/bit_builder_test.gleam b/test/gleam/bit_builder_test.gleam
index 7ffa590..99994e5 100644
--- a/test/gleam/bit_builder_test.gleam
+++ b/test/gleam/bit_builder_test.gleam
@@ -60,6 +60,12 @@ pub fn concat_test() {
|> should.equal(<<1, 2, 3, 4, 5, 6>>)
}
+pub fn concat_bit_strings_test() {
+ bit_builder.concat_bit_strings([<<"h":utf8>>, <<"e":utf8>>, <<"y":utf8>>])
+ |> bit_builder.to_bit_string
+ |> should.equal(<<"hey":utf8>>)
+}
+
pub fn from_bit_string_test() {
// Regression test: no additional modification of the builder
bit_builder.from_bit_string(<<>>)