Skip to content

Commit 6d3ed89

Browse files
Fix inconsistences
1 parent 5f70ee7 commit 6d3ed89

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/lib-common/src/ide/inMemoryTextEditor/test/InMemoryTextDocument.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ suite("InMemoryTextDocument", () => {
7373
test("positionAt", () => {
7474
const document = createTestDocument("hello \n world\r\n");
7575

76-
assert.equal(document.positionAt(-1), "0:0");
76+
assert.equal(document.positionAt(-1).toString(), "0:0");
7777
assert.equal(document.positionAt(0).toString(), "0:0");
7878
assert.equal(document.positionAt(6).toString(), "0:6");
7979
assert.equal(document.positionAt(7).toString(), "0:7");

packages/lib-engine/src/generateSpokenForm/generateSpokenForm.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ suite("Generate spoken forms", () => {
5454
});
5555

5656
assert.ok(spokenForm.type === "success");
57-
assert.equal(spokenForm.spokenForms, "bar");
57+
assert.deepEqual(spokenForm.spokenForms, ["bar"]);
5858
});
5959
});
6060

0 commit comments

Comments
 (0)