summaryrefslogtreecommitdiff
path: root/test/known_issues/test-url-parse-conformance.js
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2018-11-04 10:25:02 -0500
committercjihrig <cjihrig@gmail.com>2018-11-06 10:59:18 -0500
commita74b4a062fd6cf8ba5fb0a17078f855b072841cd (patch)
tree0e82ccc547e2bcfc366bca14a757a7b37d533e11 /test/known_issues/test-url-parse-conformance.js
parenta7ba5faaf52b3794b1ade619b7f2b9c77517dbd3 (diff)
downloadandroid-node-v8-a74b4a062fd6cf8ba5fb0a17078f855b072841cd.tar.gz
android-node-v8-a74b4a062fd6cf8ba5fb0a17078f855b072841cd.tar.bz2
android-node-v8-a74b4a062fd6cf8ba5fb0a17078f855b072841cd.zip
test: remove unused catch bindings
PR-URL: https://github.com/nodejs/node/pull/24079 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Wyatt Preul <wpreul@gmail.com>
Diffstat (limited to 'test/known_issues/test-url-parse-conformance.js')
-rw-r--r--test/known_issues/test-url-parse-conformance.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/known_issues/test-url-parse-conformance.js b/test/known_issues/test-url-parse-conformance.js
index 022a613a22..fe3aa718ea 100644
--- a/test/known_issues/test-url-parse-conformance.js
+++ b/test/known_issues/test-url-parse-conformance.js
@@ -40,12 +40,12 @@ tests.forEach((test) => {
assert.strictEqual(test.pathname, parsed.pathname || '/');
assert.strictEqual(test.search, parsed.search || '');
assert.strictEqual(test.hash, parsed.hash || '');
- } catch (err) {
+ } catch {
// For now, we're just interested in the number of failures.
failed++;
}
}
- } catch (err) {
+ } catch {
// If Parse failed and it wasn't supposed to, treat it as a failure.
if (!test.failure)
failed++;