Skip to content

Commit

Permalink
Update unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pokey committed Oct 17, 2023
1 parent 6f5b91e commit 0ac11f9
Show file tree
Hide file tree
Showing 27 changed files with 16 additions and 43 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
languageId: typescript
command:
version: 1
spokenForm: take harp and string each
spokenForm: take harp and parse tree string each
action: setSelection
targets:
- type: list
Expand All @@ -11,7 +11,6 @@ command:
- type: primitive
modifier: {type: containingScope, scopeType: string}
mark: {type: decoratedSymbol, symbolColor: default, character: e}
spokenFormError: Scope type 'string'
initialState:
documentContents: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
languageId: typescript
command:
version: 1
spokenForm: take harp past string each
spokenForm: take harp past parse tree string each
action: setSelection
targets:
- type: range
Expand All @@ -14,7 +14,6 @@ command:
mark: {type: decoratedSymbol, symbolColor: default, character: e}
excludeStart: false
excludeEnd: false
spokenFormError: Scope type 'string'
initialState:
documentContents: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
languageId: typescript
command:
version: 1
spokenForm: take string harp and each
spokenForm: take parse tree string harp and each
action: setSelection
targets:
- type: list
Expand All @@ -11,7 +11,6 @@ command:
mark: {type: decoratedSymbol, symbolColor: default, character: h}
- type: primitive
mark: {type: decoratedSymbol, symbolColor: default, character: e}
spokenFormError: Scope type 'string'
initialState:
documentContents: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
languageId: typescript
command:
version: 1
spokenForm: take string harp past each
spokenForm: take parse tree string harp past each
action: setSelection
targets:
- type: range
Expand All @@ -14,7 +14,6 @@ command:
mark: {type: decoratedSymbol, symbolColor: default, character: e}
excludeStart: false
excludeEnd: false
spokenFormError: Scope type 'string'
initialState:
documentContents: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ command:
- type: containingScope
scopeType: {type: switchStatementSubject}
usePrePhraseSnapshot: true
spokenFormError: Scope type 'switchStatementSubject'
initialState:
documentContents: |
int main() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ command:
- type: containingScope
scopeType: {type: switchStatementSubject}
usePrePhraseSnapshot: false
spokenFormError: Scope type 'switchStatementSubject'
initialState:
documentContents: |
int main() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
languageId: cpp
command:
version: 1
spokenForm: take string
spokenForm: take parse tree string
action: setSelection
targets:
- type: primitive
modifier: {type: containingScope, scopeType: string}
spokenFormError: Scope type 'string'
initialState:
documentContents: |
char* a = "hello world";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ command:
- type: containingScope
scopeType: {type: switchStatementSubject}
usePrePhraseSnapshot: true
spokenFormError: Scope type 'switchStatementSubject'
initialState:
documentContents: |-
switch (aaa) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ command:
- type: containingScope
scopeType: {type: switchStatementSubject}
usePrePhraseSnapshot: false
spokenFormError: Scope type 'switchStatementSubject'
initialState:
documentContents: |-
switch (aaa + 1) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
languageId: go
command:
version: 1
spokenForm: take string
spokenForm: take parse tree string
action: setSelection
targets:
- type: primitive
modifier: {type: containingScope, scopeType: string, includeSiblings: false}
spokenFormError: Scope type 'string'
initialState:
documentContents: x := "hello world"
selections:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ command:
scopeType: {type: switchStatementSubject}
usePrePhraseSnapshot: true
action: {name: clearAndSetSelection}
spokenFormError: Scope type 'switchStatementSubject'
initialState:
documentContents: |
class Aaa {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ command:
scopeType: {type: switchStatementSubject}
usePrePhraseSnapshot: true
action: {name: clearAndSetSelection}
spokenFormError: Scope type 'switchStatementSubject'
initialState:
documentContents: |
class Aaa {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
languageId: java
command:
version: 1
spokenForm: take string
spokenForm: take parse tree string
action: setSelection
targets:
- type: primitive
modifier: {type: containingScope, scopeType: string}
spokenFormError: Scope type 'string'
initialState:
documentContents: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
languageId: json
command:
version: 1
spokenForm: take string
spokenForm: take parse tree string
action: setSelection
targets:
- type: primitive
modifier: {type: containingScope, scopeType: string}
spokenFormError: Scope type 'string'
initialState:
documentContents: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ command:
scopeType: {type: switchStatementSubject}
usePrePhraseSnapshot: true
action: {name: clearAndSetSelection}
spokenFormError: Scope type 'switchStatementSubject'
initialState:
documentContents: |
match 0:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
languageId: python
command:
version: 1
spokenForm: take string
spokenForm: take parse tree string
action: setSelection
targets:
- type: primitive
modifier: {type: containingScope, scopeType: string}
spokenFormError: Scope type 'string'
initialState:
documentContents: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
languageId: python
command:
version: 1
spokenForm: take string
spokenForm: take parse tree string
action: setSelection
targets:
- type: primitive
modifier: {type: containingScope, scopeType: string}
spokenFormError: Scope type 'string'
initialState:
documentContents: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
languageId: python
command:
version: 1
spokenForm: take string
spokenForm: take parse tree string
action: setSelection
targets:
- type: primitive
modifier: {type: containingScope, scopeType: string}
spokenFormError: Scope type 'string'
initialState:
documentContents: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
languageId: python
command:
version: 1
spokenForm: take string
spokenForm: take parse tree string
action: setSelection
targets:
- type: primitive
modifier: {type: containingScope, scopeType: string}
spokenFormError: Scope type 'string'
initialState:
documentContents: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ command:
scopeType: {type: switchStatementSubject}
usePrePhraseSnapshot: true
action: {name: clearAndSetSelection}
spokenFormError: Scope type 'switchStatementSubject'
initialState:
documentContents: |
match user {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
languageId: scala
command:
version: 0
spokenForm: change string
spokenForm: change parse tree string
action: clearAndSetSelection
targets:
- type: primitive
modifier: {type: containingScope, scopeType: string, includeSiblings: false}
spokenFormError: Scope type 'string'
initialState:
documentContents: |
class ExampleClass() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
languageId: scala
command:
version: 0
spokenForm: change string
spokenForm: change parse tree string
action: clearAndSetSelection
targets:
- type: primitive
modifier: {type: containingScope, scopeType: string, includeSiblings: false}
spokenFormError: Scope type 'string'
initialState:
documentContents: |
val string = """
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
languageId: scala
command:
version: 0
spokenForm: change string odd
spokenForm: change parse tree string odd
action: clearAndSetSelection
targets:
- type: primitive
modifier: {type: containingScope, scopeType: string, includeSiblings: false}
mark: {type: decoratedSymbol, symbolColor: default, character: o}
spokenFormError: Scope type 'string'
initialState:
documentContents: |
class ExampleClass() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ command:
scopeType: {type: switchStatementSubject}
usePrePhraseSnapshot: true
action: {name: clearAndSetSelection}
spokenFormError: Scope type 'switchStatementSubject'
initialState:
documentContents: |
def matchTest(x: Int): String = x match {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ command:
- type: containingScope
scopeType: {type: switchStatementSubject}
usePrePhraseSnapshot: true
spokenFormError: Scope type 'switchStatementSubject'
initialState:
documentContents: |-
switch(aaa) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ command:
- type: containingScope
scopeType: {type: switchStatementSubject}
usePrePhraseSnapshot: true
spokenFormError: Scope type 'switchStatementSubject'
initialState:
documentContents: |-
switch(aaa + 1) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
languageId: typescript
command:
version: 1
spokenForm: take string
spokenForm: take parse tree string
action: setSelection
targets:
- type: primitive
modifier: {type: containingScope, scopeType: string}
spokenFormError: Scope type 'string'
initialState:
documentContents: |
Expand Down

0 comments on commit 0ac11f9

Please sign in to comment.