Commit 1920cdd
authored
Updates scope support test for new parse tree version (#2715)
With the new scope tree version this test broke. The iteration scope for
functions is the entire program I guess it's reasonable that an empty
document is still considered a function iteration scope
https://github.com/cursorless-dev/cursorless/blob/ec914cad1e4c73d67a9d31054573b12450d1b7cd/queries/javascript.function.scm#L162
## Checklist
- [x] 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 cheatsheet1 parent 43e9e21 commit 1920cdd
File tree
1 file changed
+9
-3
lines changed- packages/cursorless-vscode-e2e/src/suite/scopeProvider
1 file changed
+9
-3
lines changedLines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
58 | 61 | | |
59 | 62 | | |
60 | 63 | | |
61 | | - | |
| 64 | + | |
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
| |||
71 | 74 | | |
72 | 75 | | |
73 | 76 | | |
74 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
75 | 81 | | |
0 commit comments