-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
Closed
Labels
replIssues and PRs related to the REPL subsystem.Issues and PRs related to the REPL subsystem.testIssues and PRs related to the tests.Issues and PRs related to the tests.
Description
In test/parallel/test-repl-tab-complete.js
, the following not only fails silently, it aborts the running of the remainder of the tests in this source file:
// def has the params and { on a separate line
putIn.run([
'var top = function() {',
'r = function test (',
' one, two) {',
'var inner = {',
' one:1',
'};'
]);
testMe.complete('inner.o', getNoResultsFunction());
If this test is changed to have only assertions that pass (e.g., assert.strictEqual(null, null);
, then execution continues. If it has assertions that fail (e.g., assert.strictEqual(1, 2);
, then the test fails silently, the remainder of the tests are aborted, and overall success is reported.
Metadata
Metadata
Assignees
Labels
replIssues and PRs related to the REPL subsystem.Issues and PRs related to the REPL subsystem.testIssues and PRs related to the tests.Issues and PRs related to the tests.