Skip to content

Commit af311c0

Browse files
committed
Fix tests
1 parent 84e4a71 commit af311c0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/converters/xtbConverter.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ describe("xtbConverter", () => {
9191

9292
// Assert
9393
expect(err).toBeTruthy();
94-
expect(err.message).toBe("An error ocurred while parsing! Details: Invalid Record Length: columns length is 10; got 12 on line 2");
94+
expect(err.message).toBe("An error ocurred while parsing! Details: Invalid Record Length: columns length is 10, got 12 on line 2");
9595

9696
done();
9797
});
@@ -139,7 +139,7 @@ describe("xtbConverter", () => {
139139
// Act
140140
sut.processFileContents(tempFileContent, () => {
141141

142-
expect(consoleSpy).toHaveBeenCalledWith("[i] No result found for action buy; symbol SPYL.DE and comment OPEN BUY 8 @ 11.2835! Please add this manually..\n");
142+
expect(consoleSpy).toHaveBeenCalledWith("[i] No result found for action buy, symbol SPYL.DE and comment OPEN BUY 8 @ 11.2835! Please add this manually..\n");
143143

144144
done();
145145
}, () => done.fail("Should not have an error!"));

0 commit comments

Comments
 (0)