Skip to content

Commit

Permalink
fail
Browse files Browse the repository at this point in the history
  • Loading branch information
DetachHead committed Jan 15, 2025
1 parent 84c6ca1 commit c7dc91b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/pyright-internal/src/tests/testUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,9 @@ export function validateResults(
}

if (hint !== undefined) {
if (results[0].hint.length !== hint) {
logDiagnostics(results[0].hint);
assert.fail(`Expected ${hint} hints, got ${results[0].hint.length}`);
if (results[0].hints.length !== hint) {
logDiagnostics(results[0].hints);
assert.fail(`Expected ${hint} hints, got ${results[0].hints.length}`);
}
}
}
Expand Down

0 comments on commit c7dc91b

Please sign in to comment.