diff --git a/internal/entity/file_marshaler.go b/internal/entity/file_marshaler.go index 941f5e7890..1ec38f8973 100644 --- a/internal/entity/file_marshaler.go +++ b/internal/entity/file_marshaler.go @@ -1,4 +1,4 @@ -//go:build (js && wasm) || test_js_marshaler +//go:build js && wasm package entity diff --git a/internal/entity/file_normal.go b/internal/entity/file_normal.go index 9d201badc0..2e9c76a9f4 100644 --- a/internal/entity/file_normal.go +++ b/internal/entity/file_normal.go @@ -1,4 +1,4 @@ -//go:build (!js && !wasm) || test_js_marshaler +//go:build !js && !wasm package entity diff --git a/internal/entity/package_marshaler.go b/internal/entity/package_marshaler.go index 19f86dd1e1..daea6349a7 100644 --- a/internal/entity/package_marshaler.go +++ b/internal/entity/package_marshaler.go @@ -1,4 +1,4 @@ -//go:build (js && wasm) || test_js_marshaler +//go:build js && wasm package entity diff --git a/internal/entity/section_marshaler.go b/internal/entity/section_marshaler.go index f732f5ec3f..b09f22c6e9 100644 --- a/internal/entity/section_marshaler.go +++ b/internal/entity/section_marshaler.go @@ -1,4 +1,4 @@ -//go:build (js && wasm) || test_js_marshaler +//go:build js && wasm package entity diff --git a/internal/entity/symbol_marshaler.go b/internal/entity/symbol_marshaler.go index b8b8aa01b9..888e5a3b01 100644 --- a/internal/entity/symbol_marshaler.go +++ b/internal/entity/symbol_marshaler.go @@ -1,4 +1,4 @@ -//go:build (js && wasm) || test_js_marshaler +//go:build js && wasm package entity diff --git a/internal/result/result_marshaler.go b/internal/result/result_marshaler.go index f750d08db4..532bfffc5e 100644 --- a/internal/result/result_marshaler.go +++ b/internal/result/result_marshaler.go @@ -1,4 +1,4 @@ -//go:build (js && wasm) || test_js_marshaler +//go:build js && wasm package result diff --git a/internal/result/result_marshaler_test.go b/internal/result/result_marshaler_test.go index 9bdd3deb56..a35762c59b 100644 --- a/internal/result/result_marshaler_test.go +++ b/internal/result/result_marshaler_test.go @@ -1,4 +1,4 @@ -//go:build test_js_marshaler +//go:build js && wasm package result_test diff --git a/scripts/tests.py b/scripts/tests.py index 9b417b7c2b..d935490e86 100644 --- a/scripts/tests.py +++ b/scripts/tests.py @@ -137,7 +137,6 @@ def run_unit_tests(full: bool, wasm: bool, no_embed: bool): "-v", "-covermode=set", "-cover", - "-tags=test_js_marshaler", "-coverpkg=../../...", f"-test.gocoverdir={unit_path}", ],