Skip to content

Commit 0d77342

Browse files
cjihrigRafaelGSS
authored andcommitted
test: style updates for assert.snapshot()
This commit updates the assert.snapshot() fixtures to better match the code style of the rest of the codebase. PR-URL: #44429 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
1 parent ae028e8 commit 0d77342

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import assert from 'node:assert';
22

3-
await assert.snapshot("test", "name");
3+
await assert.snapshot('test', 'name');
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import assert from 'node:assert';
22

3-
await assert.snapshot("test", "name");
4-
await assert.snapshot("test", "another name");
3+
await assert.snapshot('test', 'name');
4+
await assert.snapshot('test', 'another name');
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import assert from 'node:assert';
22

3-
await assert.snapshot("test", "another name");
4-
await assert.snapshot("test", "non existing");
3+
await assert.snapshot('test', 'another name');
4+
await assert.snapshot('test', 'non existing');
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import assert from 'node:assert';
22

3-
await assert.snapshot("test", "snapshot");
3+
await assert.snapshot('test', 'snapshot');
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import assert from 'node:assert';
22

3-
await assert.snapshot("changed", "snapshot");
3+
await assert.snapshot('changed', 'snapshot');

0 commit comments

Comments
 (0)