Skip to content

Commit cacb5c4

Browse files
committed
chore: fix lint
1 parent 592a90e commit cacb5c4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/node-tests/doc.test.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,12 @@ function checkExpectation (want, got) {
146146
return approxEqual(got, want, 1e-9)
147147
}
148148
if (
149-
typeof want === 'string'
150-
&& typeof got === 'string'
151-
&& want.endsWith('Error')
152-
&& got.startsWith(want)
149+
typeof want === 'string' &&
150+
typeof got === 'string' &&
151+
want.endsWith('Error') &&
152+
got.startsWith(want)
153153
) {
154-
return true // we obtained the expected error type
154+
return true // we obtained the expected error type
155155
}
156156
if (typeof want !== 'undefined') {
157157
return approxDeepEqual(got, want)

0 commit comments

Comments
 (0)