Skip to content

Commit

Permalink
fixup! test: fix textdecoder test for small-icu builds
Browse files Browse the repository at this point in the history
Co-authored-by: Tobias Nießen <tniessen@tnie.de>
  • Loading branch information
richardlau and tniessen committed Oct 29, 2022
1 parent 5bb5838 commit dc31176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-whatwg-encoding-custom-textdecoder.js
Expand Up @@ -208,6 +208,6 @@ if (common.hasIntl) {
assert.strictEqual(str, '\ufffd');
} catch (e) {
// Encoding may not be available, e.g. small-icu builds
assert(e.code, 'ERR_ENCODING_NOT_SUPPORTED');
assert.strictEqual(e.code, 'ERR_ENCODING_NOT_SUPPORTED');
}
}

0 comments on commit dc31176

Please sign in to comment.