Skip to content

Commit e71a06b

Browse files
committed
Update unit tests
1 parent bba033d commit e71a06b

27 files changed

+16
-43
lines changed

packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/inference/takeHarpAndStringEach.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
languageId: typescript
22
command:
33
version: 1
4-
spokenForm: take harp and string each
4+
spokenForm: take harp and parse tree string each
55
action: setSelection
66
targets:
77
- type: list
@@ -11,7 +11,6 @@ command:
1111
- type: primitive
1212
modifier: {type: containingScope, scopeType: string}
1313
mark: {type: decoratedSymbol, symbolColor: default, character: e}
14-
spokenFormError: Scope type 'string'
1514
initialState:
1615
documentContents: |
1716

packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/inference/takeHarpPastStringEach.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
languageId: typescript
22
command:
33
version: 1
4-
spokenForm: take harp past string each
4+
spokenForm: take harp past parse tree string each
55
action: setSelection
66
targets:
77
- type: range
@@ -14,7 +14,6 @@ command:
1414
mark: {type: decoratedSymbol, symbolColor: default, character: e}
1515
excludeStart: false
1616
excludeEnd: false
17-
spokenFormError: Scope type 'string'
1817
initialState:
1918
documentContents: |
2019

packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/inference/takeStringHarpAndEach.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
languageId: typescript
22
command:
33
version: 1
4-
spokenForm: take string harp and each
4+
spokenForm: take parse tree string harp and each
55
action: setSelection
66
targets:
77
- type: list
@@ -11,7 +11,6 @@ command:
1111
mark: {type: decoratedSymbol, symbolColor: default, character: h}
1212
- type: primitive
1313
mark: {type: decoratedSymbol, symbolColor: default, character: e}
14-
spokenFormError: Scope type 'string'
1514
initialState:
1615
documentContents: |
1716

packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/inference/takeStringHarpPastEach.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
languageId: typescript
22
command:
33
version: 1
4-
spokenForm: take string harp past each
4+
spokenForm: take parse tree string harp past each
55
action: setSelection
66
targets:
77
- type: range
@@ -14,7 +14,6 @@ command:
1414
mark: {type: decoratedSymbol, symbolColor: default, character: e}
1515
excludeStart: false
1616
excludeEnd: false
17-
spokenFormError: Scope type 'string'
1817
initialState:
1918
documentContents: |
2019

packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/languages/cpp/clearSubject.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ command:
99
- type: containingScope
1010
scopeType: {type: switchStatementSubject}
1111
usePrePhraseSnapshot: true
12-
spokenFormError: Scope type 'switchStatementSubject'
1312
initialState:
1413
documentContents: |
1514
int main() {

packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/languages/cpp/clearSubject2.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ command:
99
- type: containingScope
1010
scopeType: {type: switchStatementSubject}
1111
usePrePhraseSnapshot: false
12-
spokenFormError: Scope type 'switchStatementSubject'
1312
initialState:
1413
documentContents: |
1514
int main() {

packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/languages/cpp/takeString.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
languageId: cpp
22
command:
33
version: 1
4-
spokenForm: take string
4+
spokenForm: take parse tree string
55
action: setSelection
66
targets:
77
- type: primitive
88
modifier: {type: containingScope, scopeType: string}
9-
spokenFormError: Scope type 'string'
109
initialState:
1110
documentContents: |
1211
char* a = "hello world";

packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/languages/csharp/clearSubject.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ command:
99
- type: containingScope
1010
scopeType: {type: switchStatementSubject}
1111
usePrePhraseSnapshot: true
12-
spokenFormError: Scope type 'switchStatementSubject'
1312
initialState:
1413
documentContents: |-
1514
switch (aaa) {

packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/languages/csharp/clearSubject2.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ command:
99
- type: containingScope
1010
scopeType: {type: switchStatementSubject}
1111
usePrePhraseSnapshot: false
12-
spokenFormError: Scope type 'switchStatementSubject'
1312
initialState:
1413
documentContents: |-
1514
switch (aaa + 1) {

packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/languages/go/takeString.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
languageId: go
22
command:
33
version: 1
4-
spokenForm: take string
4+
spokenForm: take parse tree string
55
action: setSelection
66
targets:
77
- type: primitive
88
modifier: {type: containingScope, scopeType: string, includeSiblings: false}
9-
spokenFormError: Scope type 'string'
109
initialState:
1110
documentContents: x := "hello world"
1211
selections:

0 commit comments

Comments
 (0)