Skip to content

Commit 3b11650

Browse files
authored
Fix assert in scope test (#2323)
## Checklist - [-] I have added [tests](https://www.cursorless.org/docs/contributing/test-case-recorder/) - [-] I have updated the [docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and [cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet) - [-] I have not broken the cheatsheet
1 parent 991fc6d commit 3b11650

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cursorless-vscode-e2e/src/suite/scopes.vscode.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ async function runTest(file: string, languageId: string, facetId: string) {
9898
.replaceAll("\r\n", "\n");
9999
const delimiterIndex = fixture.match(/^---$/m)?.index;
100100

101-
assert.isNotNull(
101+
assert.isDefined(
102102
delimiterIndex,
103103
"Can't find delimiter '---' in scope fixture",
104104
);

0 commit comments

Comments
 (0)