Skip to content

Commit 29c4a07

Browse files
author
Keegan Irby
committed
trim document text in unit test to make more consistent across platforms
1 parent 19ef62c commit 29c4a07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/test/awsService/cloudWatchLogs/commands/tailLogGroup.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ describe('TailLogGroup', function () {
6969
}
7070
const document = getTestWindow().activeTextEditor?.document
7171
assert.strictEqual(sessionUri.toString(), document?.uri.toString())
72-
assert.strictEqual(document?.getText(), `12:00:00\t${testMessage}\n`)
72+
assert.strictEqual(document?.getText().trim(), `12:00:00\t${testMessage}`)
7373

7474
//Test that closing all tabs the session's document is open in will cause the session to close
7575
const window = getTestWindow()

0 commit comments

Comments
 (0)