Skip to content

Commit

Permalink
test: updated assert test values to doc standards
Browse files Browse the repository at this point in the history
  • Loading branch information
keeysnc committed Oct 12, 2018
1 parent bcbb937 commit 113fb96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sequential/test-inspector-exception.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async function runTest() {
const session = await child.connectInspectorSession();
await testBreakpointOnStart(session);
await session.runToCompletion();
assert.strictEqual(1, (await child.expectShutdown()).exitCode);
assert.strictEqual((await child.expectShutdown()).exitCode, 1);
}

runTest();

1 comment on commit 113fb96

@keeysnc
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assertion testing documentation states the first value should represent the actual value.
The second value must be the expected value. I inversed the values in order to meet the
assert test specifications

Refs: https://api.qunitjs.com/assert/strictEqual

Please sign in to comment.