Skip to content

Commit dc31176

Browse files
richardlautniessen
andauthored
fixup! test: fix textdecoder test for small-icu builds
Co-authored-by: Tobias Nießen <[email protected]>
1 parent 5bb5838 commit dc31176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-whatwg-encoding-custom-textdecoder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,6 @@ if (common.hasIntl) {
208208
assert.strictEqual(str, '\ufffd');
209209
} catch (e) {
210210
// Encoding may not be available, e.g. small-icu builds
211-
assert(e.code, 'ERR_ENCODING_NOT_SUPPORTED');
211+
assert.strictEqual(e.code, 'ERR_ENCODING_NOT_SUPPORTED');
212212
}
213213
}

0 commit comments

Comments
 (0)