We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 722e0d4 commit ec8fbfbCopy full SHA for ec8fbfb
test/common/inspector-helper.js
@@ -63,7 +63,7 @@ function parseWSFrame(buffer) {
63
if (buffer[0] === 0x88 && buffer[1] === 0x00) {
64
return { length: 2, message, closed: true };
65
}
66
- assert.strictEqual(0x81, buffer[0]);
+ assert.strictEqual(buffer[0], 0x81);
67
let dataLen = 0x7F & buffer[1];
68
let bodyOffset = 2;
69
if (buffer.length < bodyOffset + dataLen)
@@ -251,7 +251,7 @@ class InspectorSession {
251
assert.strictEqual(scriptPath.toString(),
252
expectedScriptPath.toString(),
253
`${scriptPath} !== ${expectedScriptPath}`);
254
- assert.strictEqual(line, location.lineNumber);
+ assert.strictEqual(location.lineNumber, line);
255
return true;
256
257
0 commit comments