aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGiacomo Cavalieri <giacomo.cavalieri@icloud.com>2024-06-25 18:34:34 +0200
committerLouis Pilfold <louis@lpil.uk>2024-06-25 18:13:07 +0100
commit0d9983ac5e0a3aa9361358cbed40e533c7249c9f (patch)
tree278912ae9a244b2887301e9ebf4ce1dc01830348 /test
parentc8f1b520fc84e51aee59e4fa691bf63dcbf89bfc (diff)
downloadgleam_stdlib-0d9983ac5e0a3aa9361358cbed40e533c7249c9f.tar.gz
gleam_stdlib-0d9983ac5e0a3aa9361358cbed40e533c7249c9f.zip
Remove target annotations
Diffstat (limited to 'test')
-rw-r--r--test/gleam/bit_array_test.gleam6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/gleam/bit_array_test.gleam b/test/gleam/bit_array_test.gleam
index d4f0eb8..246fbaa 100644
--- a/test/gleam/bit_array_test.gleam
+++ b/test/gleam/bit_array_test.gleam
@@ -30,6 +30,8 @@ pub fn append_test() {
|> should.equal(<<1, 2, 3, 4>>)
}
+// This test is target specific since it's using non byte-aligned BitArrays
+// and those are not supported on the JavaScript target.
@target(erlang)
pub fn append_erlang_only_test() {
<<1, 2:4>>
@@ -47,6 +49,8 @@ pub fn concat_test() {
|> should.equal(<<1, 2, 3, 4>>)
}
+// This test is target specific since it's using non byte-aligned BitArrays
+// and those are not supported on the JavaScript target.
@target(erlang)
pub fn concat_erlang_only_test() {
[<<1, 2:4>>, <<3>>]
@@ -314,6 +318,8 @@ pub fn inspect_test() {
|> should.equal("<<0, 20, 32, 255>>")
}
+// This test is target specific since it's using non byte-aligned BitArrays
+// and those are not supported on the JavaScript target.
@target(erlang)
pub fn inspect_partial_bytes_test() {
bit_array.inspect(<<4:5>>)