From 0d9983ac5e0a3aa9361358cbed40e533c7249c9f Mon Sep 17 00:00:00 2001 From: Giacomo Cavalieri Date: Tue, 25 Jun 2024 18:34:34 +0200 Subject: Remove target annotations --- test/gleam/bit_array_test.gleam | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test') 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>>) -- cgit v1.2.3