Skip to content

Commit a1c8464

Browse files
authored
fix trailing space in snapshots (#967)
1 parent 8810410 commit a1c8464

14 files changed

+2090
-1837
lines changed

packages/plugin/src/testkit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export class GraphQLRuleTester extends RuleTester {
156156
}
157157

158158
function removeTrailingBlankLines(text: string): string {
159-
return text.replace(/^\s*\n/gm, '').trimEnd();
159+
return text.replace(/^\s*\n/, '').trimEnd();
160160
}
161161

162162
function printWithIndex(title: string, index: number, total: number, description?: string): string {

0 commit comments

Comments
 (0)