Skip to content

Commit c65537c

Browse files
Updated broken tests
1 parent 4268793 commit c65537c

File tree

2 files changed

+11
-14
lines changed

2 files changed

+11
-14
lines changed

data/fixtures/recorded/languages/cpp/takeAttribute.yml renamed to data/fixtures/recorded/languages/cpp/clearAttribute.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
languageId: cpp
22
command:
33
version: 6
4-
spokenForm: take attribute
4+
spokenForm: change attribute
55
action:
6-
name: setSelection
6+
name: clearAndSetSelection
77
target:
88
type: primitive
99
modifiers:
@@ -21,9 +21,9 @@ initialState:
2121
marks: {}
2222
finalState:
2323
documentContents: |
24-
[[nodiscard]]
24+
[[]]
2525
int f(int a = 1) {
2626
}
2727
selections:
28-
- anchor: {line: 0, character: 0}
29-
active: {line: 0, character: 13}
28+
- anchor: {line: 0, character: 2}
29+
active: {line: 0, character: 2}

data/fixtures/scopes/r/functionName.scope

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,18 @@ foo <- function() {}
33

44
[Content] = 0:0-0:3
55
>---<
6-
0| abc <- function(arg){
6+
0| foo <- function() {}
77

88
[Removal] = 0:0-0:7
99
>-------<
10-
0| abc <- function(arg){
10+
0| foo <- function() {}
1111

1212
[Trailing delimiter] = 0:3-0:7
1313
>----<
14-
0| abc <- function(arg){
14+
0| foo <- function() {}
1515

16-
[Domain] = 0:0-2:1
17-
>---------------------
18-
0| abc <- function(arg){
19-
1| TRUE
20-
2| }
21-
-<
16+
[Domain] = 0:0-0:20
17+
>--------------------<
18+
0| foo <- function() {}
2219

2320
[Insertion delimiter] = " "

0 commit comments

Comments
 (0)