Skip to content

Commit 7d75e1a

Browse files
Update tests
1 parent 64f6033 commit 7d75e1a

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

data/fixtures/recorded/everyScope/changeEveryTokenInside.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ command:
1212
- {type: interiorOnly}
1313
usePrePhraseSnapshot: false
1414
initialState:
15-
documentContents: "\"hello world\""
15+
documentContents: "'hello world'"
1616
selections:
1717
- anchor: {line: 0, character: 1}
1818
active: {line: 0, character: 1}
1919
marks: {}
2020
finalState:
21-
documentContents: "\" \""
21+
documentContents: "' '"
2222
selections:
2323
- anchor: {line: 0, character: 1}
2424
active: {line: 0, character: 1}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
languageId: plaintext
2+
command:
3+
version: 7
4+
spokenForm: change last token inside
5+
action:
6+
name: clearAndSetSelection
7+
target:
8+
type: primitive
9+
modifiers:
10+
- type: ordinalScope
11+
scopeType: {type: token}
12+
start: -1
13+
length: 1
14+
- {type: interiorOnly}
15+
usePrePhraseSnapshot: false
16+
initialState:
17+
documentContents: "'hello world'"
18+
selections:
19+
- anchor: {line: 0, character: 1}
20+
active: {line: 0, character: 1}
21+
marks: {}
22+
finalState:
23+
documentContents: "'hello '"
24+
selections:
25+
- anchor: {line: 0, character: 7}
26+
active: {line: 0, character: 7}

0 commit comments

Comments
 (0)