Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade tests #397

Merged
merged 1 commit into from
Dec 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
languageId: clojure
command:
version: 0
version: 1
spokenForm: chuck item fine
action: remove
targets:
- type: primitive
modifier: {type: containingScope, scopeType: collectionItem, includeSiblings: false}
mark: {type: decoratedSymbol, symbolColor: default, character: f, usePrePhraseSnapshot: true}
mark: {type: decoratedSymbol, symbolColor: default, character: f}
initialState:
documentContents: |-
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
languageId: clojure
command:
version: 0
version: 1
spokenForm: chuck item fine
action: remove
targets:
- type: primitive
modifier: {type: containingScope, scopeType: collectionItem, includeSiblings: false}
mark: {type: decoratedSymbol, symbolColor: default, character: f, usePrePhraseSnapshot: true}
mark: {type: decoratedSymbol, symbolColor: default, character: f}
initialState:
documentContents: |-
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
languageId: clojure
command:
version: 0
version: 1
spokenForm: chuck item zip
action: remove
targets:
- type: primitive
modifier: {type: containingScope, scopeType: collectionItem, includeSiblings: false}
mark: {type: decoratedSymbol, symbolColor: default, character: z, usePrePhraseSnapshot: true}
mark: {type: decoratedSymbol, symbolColor: default, character: z}
initialState:
documentContents: |-
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
languageId: clojure
command:
version: 0
version: 1
spokenForm: chuck item zip
action: remove
targets:
- type: primitive
modifier: {type: containingScope, scopeType: collectionItem, includeSiblings: false}
mark: {type: decoratedSymbol, symbolColor: default, character: z, usePrePhraseSnapshot: true}
mark: {type: decoratedSymbol, symbolColor: default, character: z}
initialState:
documentContents: |-
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,39 +5,19 @@ command:
action: clearAndSetSelection
targets:
- type: primitive
modifier:
{
type: containingScope,
scopeType: argumentOrParameter,
includeSiblings: false,
}
modifier: {type: containingScope, scopeType: argumentOrParameter, includeSiblings: false}
initialState:
documentContents: (foo :bar)
selections:
- anchor: { line: 0, character: 6 }
active: { line: 0, character: 6 }
- anchor: {line: 0, character: 6}
active: {line: 0, character: 6}
marks: {}
finalState:
documentContents: (foo )
selections:
- anchor: { line: 0, character: 5 }
active: { line: 0, character: 5 }
- anchor: {line: 0, character: 5}
active: {line: 0, character: 5}
thatMark:
- anchor: { line: 0, character: 5 }
active: { line: 0, character: 5 }
fullTargets:
[
{
type: primitive,
mark: { type: cursor },
selectionType: token,
position: contents,
insideOutsideType: inside,
modifier:
{
type: containingScope,
scopeType: argumentOrParameter,
includeSiblings: false,
},
},
]
- anchor: {line: 0, character: 5}
active: {line: 0, character: 5}
fullTargets: [{type: primitive, mark: {type: cursor}, selectionType: token, position: contents, insideOutsideType: inside, modifier: {type: containingScope, scopeType: argumentOrParameter, includeSiblings: false}}]
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
languageId: clojure
command:
version: 0
version: 1
spokenForm: clear call
action: clearAndSetSelection
targets:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
languageId: clojure
command:
version: 0
version: 1
spokenForm: clear call
action: clearAndSetSelection
targets:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
languageId: clojure
command:
version: 0
version: 1
spokenForm: clear comment
action: clearAndSetSelection
targets:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
languageId: clojure
command:
version: 0
version: 1
spokenForm: clear every item
action: clearAndSetSelection
targets:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
languageId: clojure
command:
version: 0
version: 1
spokenForm: clear every key
action: clearAndSetSelection
targets:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
languageId: clojure
command:
version: 0
version: 1
spokenForm: clear every value
action: clearAndSetSelection
targets:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
languageId: clojure
command:
version: 0
version: 1
spokenForm: clear item
action: clearAndSetSelection
targets:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
languageId: clojure
command:
version: 0
version: 1
spokenForm: clear item bat
action: clearAndSetSelection
targets:
- type: primitive
modifier: {type: containingScope, scopeType: collectionItem, includeSiblings: false}
mark: {type: decoratedSymbol, symbolColor: default, character: b, usePrePhraseSnapshot: true}
mark: {type: decoratedSymbol, symbolColor: default, character: b}
initialState:
documentContents: |-
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
languageId: clojure
command:
version: 0
version: 1
spokenForm: clear item bat clear item bat
action: clearAndSetSelection
targets:
- type: primitive
modifier: {type: containingScope, scopeType: collectionItem, includeSiblings: false}
mark: {type: decoratedSymbol, symbolColor: default, character: b, usePrePhraseSnapshot: true}
mark: {type: decoratedSymbol, symbolColor: default, character: b}
initialState:
documentContents: "{:foo \"bar\"}"
selections:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
languageId: clojure
command:
version: 0
version: 1
spokenForm: clear item fine
action: clearAndSetSelection
targets:
- type: primitive
modifier: {type: containingScope, scopeType: collectionItem, includeSiblings: false}
mark: {type: decoratedSymbol, symbolColor: default, character: f, usePrePhraseSnapshot: true}
mark: {type: decoratedSymbol, symbolColor: default, character: f}
initialState:
documentContents: "{:foo \"bar\" :baz \"whatever\"}"
selections:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
languageId: clojure
command:
version: 0
version: 1
spokenForm: clear item whale
action: clearAndSetSelection
targets:
- type: primitive
modifier: {type: containingScope, scopeType: collectionItem, includeSiblings: false}
mark: {type: decoratedSymbol, symbolColor: default, character: w, usePrePhraseSnapshot: true}
mark: {type: decoratedSymbol, symbolColor: default, character: w}
initialState:
documentContents: "{:foo \"bar\", :baz \"whatever\"}"
selections:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
languageId: clojure
command:
version: 0
version: 1
spokenForm: clear item zip
action: clearAndSetSelection
targets:
- type: primitive
modifier: {type: containingScope, scopeType: collectionItem, includeSiblings: false}
mark: {type: decoratedSymbol, symbolColor: default, character: z, usePrePhraseSnapshot: true}
mark: {type: decoratedSymbol, symbolColor: default, character: z}
initialState:
documentContents: "{:foo \"bar\", :baz \"whatever\"}"
selections:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
languageId: clojure
command:
version: 0
version: 1
spokenForm: clear key
action: clearAndSetSelection
targets:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
languageId: clojure
command:
version: 0
version: 1
spokenForm: clear key whale
action: clearAndSetSelection
targets:
- type: primitive
modifier: {type: containingScope, scopeType: collectionKey, includeSiblings: false}
mark: {type: decoratedSymbol, symbolColor: default, character: w, usePrePhraseSnapshot: true}
mark: {type: decoratedSymbol, symbolColor: default, character: w}
initialState:
documentContents: "{:foo \"bar\", :baz \"whatever\"}"
selections:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
languageId: clojure
command:
version: 0
version: 1
spokenForm: clear key whale
action: clearAndSetSelection
targets:
- type: primitive
modifier: {type: containingScope, scopeType: collectionKey, includeSiblings: false}
mark: {type: decoratedSymbol, symbolColor: default, character: w, usePrePhraseSnapshot: true}
mark: {type: decoratedSymbol, symbolColor: default, character: w}
initialState:
documentContents: |-
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
languageId: clojure
command:
version: 0
version: 1
spokenForm: clear key zip
action: clearAndSetSelection
targets:
- type: primitive
modifier: {type: containingScope, scopeType: collectionKey, includeSiblings: false}
mark: {type: decoratedSymbol, symbolColor: default, character: z, usePrePhraseSnapshot: true}
mark: {type: decoratedSymbol, symbolColor: default, character: z}
initialState:
documentContents: "{:foo \"bar\", :baz \"whatever\"}"
selections:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
languageId: clojure
command:
version: 0
version: 1
spokenForm: clear key zip
action: clearAndSetSelection
targets:
- type: primitive
modifier: {type: containingScope, scopeType: collectionKey, includeSiblings: false}
mark: {type: decoratedSymbol, symbolColor: default, character: z, usePrePhraseSnapshot: true}
mark: {type: decoratedSymbol, symbolColor: default, character: z}
initialState:
documentContents: |-
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
languageId: clojure
command:
version: 0
version: 1
spokenForm: clear list
action: clearAndSetSelection
targets:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
languageId: clojure
command:
version: 0
version: 1
spokenForm: clear list
action: clearAndSetSelection
targets:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
languageId: clojure
command:
version: 0
version: 1
spokenForm: clear map
action: clearAndSetSelection
targets:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
languageId: clojure
command:
version: 0
version: 1
spokenForm: clear value bat
action: clearAndSetSelection
targets:
- type: primitive
modifier: {type: containingScope, scopeType: value, includeSiblings: false}
mark: {type: decoratedSymbol, symbolColor: default, character: b, usePrePhraseSnapshot: true}
mark: {type: decoratedSymbol, symbolColor: default, character: b}
initialState:
documentContents: |-
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
languageId: clojure
command:
version: 0
version: 1
spokenForm: clear value zip
action: clearAndSetSelection
targets:
- type: primitive
modifier: {type: containingScope, scopeType: value, includeSiblings: false}
mark: {type: decoratedSymbol, symbolColor: default, character: z, usePrePhraseSnapshot: true}
mark: {type: decoratedSymbol, symbolColor: default, character: z}
initialState:
documentContents: |-
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
languageId: clojure
command:
version: 0
version: 1
spokenForm: take value
action: setSelection
targets:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
languageId: clojure
command:
version: 0
version: 1
spokenForm: take value bat
action: setSelection
targets:
- type: primitive
modifier: {type: containingScope, scopeType: value, includeSiblings: false}
mark: {type: decoratedSymbol, symbolColor: default, character: b, usePrePhraseSnapshot: true}
mark: {type: decoratedSymbol, symbolColor: default, character: b}
initialState:
documentContents: "{:foo \"bar\", :baz \"whatever\"}"
selections:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
languageId: clojure
command:
version: 0
version: 1
spokenForm: take value bat
action: setSelection
targets:
- type: primitive
modifier: {type: containingScope, scopeType: value, includeSiblings: false}
mark: {type: decoratedSymbol, symbolColor: default, character: b, usePrePhraseSnapshot: true}
mark: {type: decoratedSymbol, symbolColor: default, character: b}
initialState:
documentContents: "{:foo \"bar\"}"
selections:
Expand Down
Loading