Skip to content

Commit b33055b

Browse files
committed
fix tests
1 parent da3c7f1 commit b33055b

File tree

9 files changed

+18
-18
lines changed

9 files changed

+18
-18
lines changed

packages/cursorless-engine/src/core/IndividualHatMap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export class IndividualHatMap implements ReadOnlyHatMap {
5858
}
5959

6060
/**
61-
* Overwrites the hat assignemnt for this hat token map.
61+
* Overwrites the hat assignment for this hat token map.
6262
*
6363
* @param tokenHats The new hat assignments
6464
*/

packages/cursorless-vscode-e2e/src/suite/breakpoints.vscode.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ async function breakpointHarpAdd() {
3838
mark: {
3939
type: "decoratedSymbol",
4040
symbolColor: "default",
41-
character: "h",
41+
character: "e",
4242
},
4343
},
4444
],
@@ -66,7 +66,7 @@ async function breakpointTokenHarpAdd() {
6666
mark: {
6767
type: "decoratedSymbol",
6868
symbolColor: "default",
69-
character: "h",
69+
character: "e",
7070
},
7171
},
7272
],
@@ -101,7 +101,7 @@ async function breakpointHarpRemove() {
101101
mark: {
102102
type: "decoratedSymbol",
103103
symbolColor: "default",
104-
character: "h",
104+
character: "e",
105105
},
106106
},
107107
],
@@ -136,7 +136,7 @@ async function breakpointTokenHarpRemove() {
136136
mark: {
137137
type: "decoratedSymbol",
138138
symbolColor: "default",
139-
character: "h",
139+
character: "e",
140140
},
141141
},
142142
],

packages/cursorless-vscode-e2e/src/suite/crossCellsSetSelection.vscode.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ async function runTest() {
3737
mark: {
3838
type: "decoratedSymbol",
3939
symbolColor: "default",
40-
character: "w",
40+
character: "o",
4141
},
4242
},
4343
],

packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/hatTokenMap/takeHarp.yml renamed to packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/hatTokenMap/takeEach.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
languageId: plaintext
22
command:
33
version: 1
4-
spokenForm: take harp
4+
spokenForm: take each
55
action: setSelection
66
targets:
77
- type: primitive
8-
mark: {type: decoratedSymbol, symbolColor: default, character: h}
8+
mark: {type: decoratedSymbol, symbolColor: default, character: e}
99
initialState:
1010
documentContents: hello world
1111
selections:
1212
- anchor: {line: 0, character: 11}
1313
active: {line: 0, character: 11}
1414
marks:
15-
default.h:
15+
default.e:
1616
start: {line: 0, character: 0}
1717
end: {line: 0, character: 5}
1818
finalState:

packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/testCaseRecorder/takeHarp.yml renamed to packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/testCaseRecorder/takeEach.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
languageId: plaintext
22
command:
33
version: 6
4-
spokenForm: take harp
4+
spokenForm: take each
55
action:
66
name: setSelection
77
target:
88
type: primitive
9-
mark: {type: decoratedSymbol, symbolColor: default, character: h}
9+
mark: {type: decoratedSymbol, symbolColor: default, character: e}
1010
usePrePhraseSnapshot: false
1111
initialState:
1212
documentContents: hello world
1313
selections:
1414
- anchor: {line: 0, character: 11}
1515
active: {line: 0, character: 11}
1616
marks:
17-
default.h:
17+
default.e:
1818
start: {line: 0, character: 0}
1919
end: {line: 0, character: 5}
2020
finalState:

packages/cursorless-vscode-e2e/src/suite/intraCellSetSelection.vscode.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ async function runTest() {
3737
mark: {
3838
type: "decoratedSymbol",
3939
symbolColor: "default",
40-
character: "w",
40+
character: "r",
4141
},
4242
},
4343
],

packages/cursorless-vscode-e2e/src/suite/pourAcrossSplit.vscode.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ async function runTest() {
2626
mark: {
2727
type: "decoratedSymbol",
2828
symbolColor: "default",
29-
character: "h",
29+
character: "e",
3030
},
3131
},
3232
],

packages/cursorless-vscode-e2e/src/suite/testCaseRecorder.vscode.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ async function takeHarp() {
146146
mark: {
147147
type: "decoratedSymbol",
148148
symbolColor: "default",
149-
character: "h",
149+
character: "e",
150150
},
151151
},
152152
},
@@ -158,11 +158,11 @@ async function checkRecordedTest(tmpdir: string) {
158158
assert.lengthOf(paths, 1);
159159

160160
const actualRecordedTestPath = paths[0];
161-
assert.equal(basename(actualRecordedTestPath), "takeHarp.yml");
161+
assert.equal(basename(actualRecordedTestPath), "takeEach.yml");
162162

163163
const expected = (
164164
await readFile(
165-
getFixturePath("recorded/testCaseRecorder/takeHarp.yml"),
165+
getFixturePath("recorded/testCaseRecorder/takeEach.yml"),
166166
"utf8",
167167
)
168168
)

packages/cursorless-vscode-e2e/src/suite/wrapWithSnippetAcrossSplit.vscode.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ async function runTest() {
3333
mark: {
3434
type: "decoratedSymbol",
3535
symbolColor: "default",
36-
character: "h",
36+
character: "e",
3737
},
3838
},
3939
],

0 commit comments

Comments
 (0)