aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJulian Schurhammer <julian.schurhammer@gmail.com>2022-08-12 20:37:57 +1200
committerLouis Pilfold <louis@lpil.uk>2023-03-13 10:48:28 +0000
commitc97949eace0bd934a0adbc1cf0b6a8ad98efd4ad (patch)
treed82ed99dad6fb6d1d30b32143af8f8e480a38ede /test
parentcb4cac3c2b5070f3dff423132e3cf20858e82355 (diff)
downloadgleam_stdlib-c97949eace0bd934a0adbc1cf0b6a8ad98efd4ad.tar.gz
gleam_stdlib-c97949eace0bd934a0adbc1cf0b6a8ad98efd4ad.zip
javascript hashCode: handle uint8array
Diffstat (limited to 'test')
-rw-r--r--test/gleam/bit_string_test.gleam5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/gleam/bit_string_test.gleam b/test/gleam/bit_string_test.gleam
index c52dd85..581cc1c 100644
--- a/test/gleam/bit_string_test.gleam
+++ b/test/gleam/bit_string_test.gleam
@@ -9,6 +9,11 @@ pub fn byte_size_test() {
|> should.equal(0)
}
+pub fn not_equal_test() {
+ bit_string.from_string("test")
+ |> should.not_equal(bit_string.from_string("asdf"))
+}
+
pub fn append_test() {
bit_string.from_string("Test")
|> bit_string.append(bit_string.from_string(" Me"))