Skip to content

Commit b014544

Browse files
committed
test: 改行の追加
1 parent d2c4f16 commit b014544

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

src/graph/__snapshots__/build2GraphsMessage.test.ts.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,6 @@ flowchart
4242
\`\`\`
4343
4444
45+
4546
"
4647
`;

src/graph/__snapshots__/buildGraphMessage.test.ts.snap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ tsg --include src/B.tsx src/A.tsx --highlight src/B.tsx src/A.tsx --exclude node
1515
\`\`\`
1616
1717
18+
1819
"
1920
`;
2021

@@ -43,5 +44,6 @@ flowchart
4344
\`\`\`
4445
4546
47+
4648
"
4749
`;

src/graph/buildGraphMessage.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ test('出力可能なグラフがない場合は何も出力しない', async ()
3737
};
3838
const context = getDummyContext();
3939
const message = await buildGraphMessage(graph, graph, context);
40-
expect(message).toBe('The graph is empty.');
40+
expect(message).toBe('The graph is empty.\n\n');
4141
});
4242

4343
test('グラフが大きすぎる場合はその旨を出力する', async () => {

0 commit comments

Comments
 (0)