Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott committed Sep 21, 2022
1 parent c6e8d9d commit 848bd35
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions test/sequential/test-debugger-low-level.js
Expand Up @@ -12,9 +12,8 @@ const assert = require('assert');
const cli = startCLI([fixtures.path('debugger/three-lines.js')]);
const scriptPattern = /^\* (\d+): \S+debugger(?:\/|\\)three-lines\.js/m;

async function testDebuggerLowLevel()
{
try{
async function testDebuggerLowLevel() {
try {
await cli.waitForInitialBreak();
await cli.waitForPrompt();
await cli.command('scripts');
Expand All @@ -23,12 +22,12 @@ const assert = require('assert');
`Debugger.getScriptSource({ scriptId: '${scriptId}' })`
);
assert.match(
cli.output,
/scriptSource:[ \n]*'(?:\(function \(|let x = 1)/);
cli.output,
/scriptSource:[ \n]*'(?:\(function \(|let x = 1)/);
assert.match(
cli.output,
/let x = 1;/);
} finally{
cli.output,
/let x = 1;/);
} finally {
await cli.quit();
}
}
Expand Down

0 comments on commit 848bd35

Please sign in to comment.