Skip to content

Commit 5a34f35

Browse files
committed
fixup: remove string literals from assert.strictEqual calls
1 parent b95725a commit 5a34f35

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

test/parallel/test-wasm-simd-global.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ const { exports: { get0, get1, get2, get3, set } } =
4646
new WebAssembly.Instance(new WebAssembly.Module(wasmBytes));
4747

4848
// Test 1: v128.const initializer lanes are read back correctly.
49-
assert.strictEqual(get0(), 1, 'v128.const lane 0 should be 1');
50-
assert.strictEqual(get1(), 2, 'v128.const lane 1 should be 2');
51-
assert.strictEqual(get2(), 3, 'v128.const lane 2 should be 3');
52-
assert.strictEqual(get3(), 4, 'v128.const lane 3 should be 4');
49+
assert.strictEqual(get0(), 1);
50+
assert.strictEqual(get1(), 2);
51+
assert.strictEqual(get2(), 3);
52+
assert.strictEqual(get3(), 4);
5353

5454
// Test 2: replace_lane -> global.set -> global.get -> extract_lane round-trip.
5555
set(10, 20, 30, 40);
56-
assert.strictEqual(get0(), 10, 'after set, lane 0 should be 10');
57-
assert.strictEqual(get1(), 20, 'after set, lane 1 should be 20');
58-
assert.strictEqual(get2(), 30, 'after set, lane 2 should be 30');
59-
assert.strictEqual(get3(), 40, 'after set, lane 3 should be 40');
56+
assert.strictEqual(get0(), 10);
57+
assert.strictEqual(get1(), 20);
58+
assert.strictEqual(get2(), 30);
59+
assert.strictEqual(get3(), 40);

0 commit comments

Comments
 (0)