Skip to content

Commit d0ec005

Browse files
authored
Upgrade tests (#397)
1 parent d131a50 commit d0ec005

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+95
-115
lines changed

src/test/suite/fixtures/recorded/languages/clojure/chuckItemFine.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
languageId: clojure
22
command:
3-
version: 0
3+
version: 1
44
spokenForm: chuck item fine
55
action: remove
66
targets:
77
- type: primitive
88
modifier: {type: containingScope, scopeType: collectionItem, includeSiblings: false}
9-
mark: {type: decoratedSymbol, symbolColor: default, character: f, usePrePhraseSnapshot: true}
9+
mark: {type: decoratedSymbol, symbolColor: default, character: f}
1010
initialState:
1111
documentContents: |-
1212
{

src/test/suite/fixtures/recorded/languages/clojure/chuckItemFine2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
languageId: clojure
22
command:
3-
version: 0
3+
version: 1
44
spokenForm: chuck item fine
55
action: remove
66
targets:
77
- type: primitive
88
modifier: {type: containingScope, scopeType: collectionItem, includeSiblings: false}
9-
mark: {type: decoratedSymbol, symbolColor: default, character: f, usePrePhraseSnapshot: true}
9+
mark: {type: decoratedSymbol, symbolColor: default, character: f}
1010
initialState:
1111
documentContents: |-
1212
{

src/test/suite/fixtures/recorded/languages/clojure/chuckItemZip.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
languageId: clojure
22
command:
3-
version: 0
3+
version: 1
44
spokenForm: chuck item zip
55
action: remove
66
targets:
77
- type: primitive
88
modifier: {type: containingScope, scopeType: collectionItem, includeSiblings: false}
9-
mark: {type: decoratedSymbol, symbolColor: default, character: z, usePrePhraseSnapshot: true}
9+
mark: {type: decoratedSymbol, symbolColor: default, character: z}
1010
initialState:
1111
documentContents: |-
1212
{

src/test/suite/fixtures/recorded/languages/clojure/chuckItemZip2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
languageId: clojure
22
command:
3-
version: 0
3+
version: 1
44
spokenForm: chuck item zip
55
action: remove
66
targets:
77
- type: primitive
88
modifier: {type: containingScope, scopeType: collectionItem, includeSiblings: false}
9-
mark: {type: decoratedSymbol, symbolColor: default, character: z, usePrePhraseSnapshot: true}
9+
mark: {type: decoratedSymbol, symbolColor: default, character: z}
1010
initialState:
1111
documentContents: |-
1212
{

src/test/suite/fixtures/recorded/languages/clojure/clearArgue.yml

Lines changed: 8 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -5,39 +5,19 @@ command:
55
action: clearAndSetSelection
66
targets:
77
- type: primitive
8-
modifier:
9-
{
10-
type: containingScope,
11-
scopeType: argumentOrParameter,
12-
includeSiblings: false,
13-
}
8+
modifier: {type: containingScope, scopeType: argumentOrParameter, includeSiblings: false}
149
initialState:
1510
documentContents: (foo :bar)
1611
selections:
17-
- anchor: { line: 0, character: 6 }
18-
active: { line: 0, character: 6 }
12+
- anchor: {line: 0, character: 6}
13+
active: {line: 0, character: 6}
1914
marks: {}
2015
finalState:
2116
documentContents: (foo )
2217
selections:
23-
- anchor: { line: 0, character: 5 }
24-
active: { line: 0, character: 5 }
18+
- anchor: {line: 0, character: 5}
19+
active: {line: 0, character: 5}
2520
thatMark:
26-
- anchor: { line: 0, character: 5 }
27-
active: { line: 0, character: 5 }
28-
fullTargets:
29-
[
30-
{
31-
type: primitive,
32-
mark: { type: cursor },
33-
selectionType: token,
34-
position: contents,
35-
insideOutsideType: inside,
36-
modifier:
37-
{
38-
type: containingScope,
39-
scopeType: argumentOrParameter,
40-
includeSiblings: false,
41-
},
42-
},
43-
]
21+
- anchor: {line: 0, character: 5}
22+
active: {line: 0, character: 5}
23+
fullTargets: [{type: primitive, mark: {type: cursor}, selectionType: token, position: contents, insideOutsideType: inside, modifier: {type: containingScope, scopeType: argumentOrParameter, includeSiblings: false}}]

src/test/suite/fixtures/recorded/languages/clojure/clearCall.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
languageId: clojure
22
command:
3-
version: 0
3+
version: 1
44
spokenForm: clear call
55
action: clearAndSetSelection
66
targets:

src/test/suite/fixtures/recorded/languages/clojure/clearCall2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
languageId: clojure
22
command:
3-
version: 0
3+
version: 1
44
spokenForm: clear call
55
action: clearAndSetSelection
66
targets:

src/test/suite/fixtures/recorded/languages/clojure/clearComment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
languageId: clojure
22
command:
3-
version: 0
3+
version: 1
44
spokenForm: clear comment
55
action: clearAndSetSelection
66
targets:

src/test/suite/fixtures/recorded/languages/clojure/clearEveryItem.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
languageId: clojure
22
command:
3-
version: 0
3+
version: 1
44
spokenForm: clear every item
55
action: clearAndSetSelection
66
targets:

src/test/suite/fixtures/recorded/languages/clojure/clearEveryKey.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
languageId: clojure
22
command:
3-
version: 0
3+
version: 1
44
spokenForm: clear every key
55
action: clearAndSetSelection
66
targets:

src/test/suite/fixtures/recorded/languages/clojure/clearEveryValue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
languageId: clojure
22
command:
3-
version: 0
3+
version: 1
44
spokenForm: clear every value
55
action: clearAndSetSelection
66
targets:

src/test/suite/fixtures/recorded/languages/clojure/clearItem.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
languageId: clojure
22
command:
3-
version: 0
3+
version: 1
44
spokenForm: clear item
55
action: clearAndSetSelection
66
targets:

src/test/suite/fixtures/recorded/languages/clojure/clearItemBat.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
languageId: clojure
22
command:
3-
version: 0
3+
version: 1
44
spokenForm: clear item bat
55
action: clearAndSetSelection
66
targets:
77
- type: primitive
88
modifier: {type: containingScope, scopeType: collectionItem, includeSiblings: false}
9-
mark: {type: decoratedSymbol, symbolColor: default, character: b, usePrePhraseSnapshot: true}
9+
mark: {type: decoratedSymbol, symbolColor: default, character: b}
1010
initialState:
1111
documentContents: |-
1212
{

src/test/suite/fixtures/recorded/languages/clojure/clearItemBatClearItemBat.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
languageId: clojure
22
command:
3-
version: 0
3+
version: 1
44
spokenForm: clear item bat clear item bat
55
action: clearAndSetSelection
66
targets:
77
- type: primitive
88
modifier: {type: containingScope, scopeType: collectionItem, includeSiblings: false}
9-
mark: {type: decoratedSymbol, symbolColor: default, character: b, usePrePhraseSnapshot: true}
9+
mark: {type: decoratedSymbol, symbolColor: default, character: b}
1010
initialState:
1111
documentContents: "{:foo \"bar\"}"
1212
selections:

src/test/suite/fixtures/recorded/languages/clojure/clearItemFine.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
languageId: clojure
22
command:
3-
version: 0
3+
version: 1
44
spokenForm: clear item fine
55
action: clearAndSetSelection
66
targets:
77
- type: primitive
88
modifier: {type: containingScope, scopeType: collectionItem, includeSiblings: false}
9-
mark: {type: decoratedSymbol, symbolColor: default, character: f, usePrePhraseSnapshot: true}
9+
mark: {type: decoratedSymbol, symbolColor: default, character: f}
1010
initialState:
1111
documentContents: "{:foo \"bar\" :baz \"whatever\"}"
1212
selections:

src/test/suite/fixtures/recorded/languages/clojure/clearItemWhale.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
languageId: clojure
22
command:
3-
version: 0
3+
version: 1
44
spokenForm: clear item whale
55
action: clearAndSetSelection
66
targets:
77
- type: primitive
88
modifier: {type: containingScope, scopeType: collectionItem, includeSiblings: false}
9-
mark: {type: decoratedSymbol, symbolColor: default, character: w, usePrePhraseSnapshot: true}
9+
mark: {type: decoratedSymbol, symbolColor: default, character: w}
1010
initialState:
1111
documentContents: "{:foo \"bar\", :baz \"whatever\"}"
1212
selections:

src/test/suite/fixtures/recorded/languages/clojure/clearItemZip.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
languageId: clojure
22
command:
3-
version: 0
3+
version: 1
44
spokenForm: clear item zip
55
action: clearAndSetSelection
66
targets:
77
- type: primitive
88
modifier: {type: containingScope, scopeType: collectionItem, includeSiblings: false}
9-
mark: {type: decoratedSymbol, symbolColor: default, character: z, usePrePhraseSnapshot: true}
9+
mark: {type: decoratedSymbol, symbolColor: default, character: z}
1010
initialState:
1111
documentContents: "{:foo \"bar\", :baz \"whatever\"}"
1212
selections:

src/test/suite/fixtures/recorded/languages/clojure/clearKey.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
languageId: clojure
22
command:
3-
version: 0
3+
version: 1
44
spokenForm: clear key
55
action: clearAndSetSelection
66
targets:

src/test/suite/fixtures/recorded/languages/clojure/clearKeyWhale.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
languageId: clojure
22
command:
3-
version: 0
3+
version: 1
44
spokenForm: clear key whale
55
action: clearAndSetSelection
66
targets:
77
- type: primitive
88
modifier: {type: containingScope, scopeType: collectionKey, includeSiblings: false}
9-
mark: {type: decoratedSymbol, symbolColor: default, character: w, usePrePhraseSnapshot: true}
9+
mark: {type: decoratedSymbol, symbolColor: default, character: w}
1010
initialState:
1111
documentContents: "{:foo \"bar\", :baz \"whatever\"}"
1212
selections:

src/test/suite/fixtures/recorded/languages/clojure/clearKeyWhale2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
languageId: clojure
22
command:
3-
version: 0
3+
version: 1
44
spokenForm: clear key whale
55
action: clearAndSetSelection
66
targets:
77
- type: primitive
88
modifier: {type: containingScope, scopeType: collectionKey, includeSiblings: false}
9-
mark: {type: decoratedSymbol, symbolColor: default, character: w, usePrePhraseSnapshot: true}
9+
mark: {type: decoratedSymbol, symbolColor: default, character: w}
1010
initialState:
1111
documentContents: |-
1212
{

src/test/suite/fixtures/recorded/languages/clojure/clearKeyZip.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
languageId: clojure
22
command:
3-
version: 0
3+
version: 1
44
spokenForm: clear key zip
55
action: clearAndSetSelection
66
targets:
77
- type: primitive
88
modifier: {type: containingScope, scopeType: collectionKey, includeSiblings: false}
9-
mark: {type: decoratedSymbol, symbolColor: default, character: z, usePrePhraseSnapshot: true}
9+
mark: {type: decoratedSymbol, symbolColor: default, character: z}
1010
initialState:
1111
documentContents: "{:foo \"bar\", :baz \"whatever\"}"
1212
selections:

src/test/suite/fixtures/recorded/languages/clojure/clearKeyZip2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
languageId: clojure
22
command:
3-
version: 0
3+
version: 1
44
spokenForm: clear key zip
55
action: clearAndSetSelection
66
targets:
77
- type: primitive
88
modifier: {type: containingScope, scopeType: collectionKey, includeSiblings: false}
9-
mark: {type: decoratedSymbol, symbolColor: default, character: z, usePrePhraseSnapshot: true}
9+
mark: {type: decoratedSymbol, symbolColor: default, character: z}
1010
initialState:
1111
documentContents: |-
1212
{

src/test/suite/fixtures/recorded/languages/clojure/clearList.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
languageId: clojure
22
command:
3-
version: 0
3+
version: 1
44
spokenForm: clear list
55
action: clearAndSetSelection
66
targets:

src/test/suite/fixtures/recorded/languages/clojure/clearList2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
languageId: clojure
22
command:
3-
version: 0
3+
version: 1
44
spokenForm: clear list
55
action: clearAndSetSelection
66
targets:

src/test/suite/fixtures/recorded/languages/clojure/clearMap.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
languageId: clojure
22
command:
3-
version: 0
3+
version: 1
44
spokenForm: clear map
55
action: clearAndSetSelection
66
targets:

src/test/suite/fixtures/recorded/languages/clojure/clearValueBat.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
languageId: clojure
22
command:
3-
version: 0
3+
version: 1
44
spokenForm: clear value bat
55
action: clearAndSetSelection
66
targets:
77
- type: primitive
88
modifier: {type: containingScope, scopeType: value, includeSiblings: false}
9-
mark: {type: decoratedSymbol, symbolColor: default, character: b, usePrePhraseSnapshot: true}
9+
mark: {type: decoratedSymbol, symbolColor: default, character: b}
1010
initialState:
1111
documentContents: |-
1212
{

src/test/suite/fixtures/recorded/languages/clojure/clearValueZip.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
languageId: clojure
22
command:
3-
version: 0
3+
version: 1
44
spokenForm: clear value zip
55
action: clearAndSetSelection
66
targets:
77
- type: primitive
88
modifier: {type: containingScope, scopeType: value, includeSiblings: false}
9-
mark: {type: decoratedSymbol, symbolColor: default, character: z, usePrePhraseSnapshot: true}
9+
mark: {type: decoratedSymbol, symbolColor: default, character: z}
1010
initialState:
1111
documentContents: |-
1212
{

src/test/suite/fixtures/recorded/languages/clojure/takeValue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
languageId: clojure
22
command:
3-
version: 0
3+
version: 1
44
spokenForm: take value
55
action: setSelection
66
targets:

src/test/suite/fixtures/recorded/languages/clojure/takeValueBat.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
languageId: clojure
22
command:
3-
version: 0
3+
version: 1
44
spokenForm: take value bat
55
action: setSelection
66
targets:
77
- type: primitive
88
modifier: {type: containingScope, scopeType: value, includeSiblings: false}
9-
mark: {type: decoratedSymbol, symbolColor: default, character: b, usePrePhraseSnapshot: true}
9+
mark: {type: decoratedSymbol, symbolColor: default, character: b}
1010
initialState:
1111
documentContents: "{:foo \"bar\", :baz \"whatever\"}"
1212
selections:

src/test/suite/fixtures/recorded/languages/clojure/takeValueBat2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
languageId: clojure
22
command:
3-
version: 0
3+
version: 1
44
spokenForm: take value bat
55
action: setSelection
66
targets:
77
- type: primitive
88
modifier: {type: containingScope, scopeType: value, includeSiblings: false}
9-
mark: {type: decoratedSymbol, symbolColor: default, character: b, usePrePhraseSnapshot: true}
9+
mark: {type: decoratedSymbol, symbolColor: default, character: b}
1010
initialState:
1111
documentContents: "{:foo \"bar\"}"
1212
selections:

0 commit comments

Comments
 (0)