mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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: https://github.com/nodejs/node/pull/44429 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
This commit is contained in:
1 parent
ae028e8ac3
commit
0d77342a39
5 files changed
+7
-7
No files matched your search
+1
-1
@@ -1,3 +1,3 @@
|
||||
import assert from 'node:assert';
|
||||
|
||||
await assert.snapshot("test", "name");
|
||||
await assert.snapshot('test', 'name');
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
import assert from 'node:assert';
|
||||
|
||||
await assert.snapshot("test", "name");
|
||||
await assert.snapshot("test", "another name");
|
||||
await assert.snapshot('test', 'name');
|
||||
await assert.snapshot('test', 'another name');
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
import assert from 'node:assert';
|
||||
|
||||
await assert.snapshot("test", "another name");
|
||||
await assert.snapshot("test", "non existing");
|
||||
await assert.snapshot('test', 'another name');
|
||||
await assert.snapshot('test', 'non existing');
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
import assert from 'node:assert';
|
||||
|
||||
await assert.snapshot("test", "snapshot");
|
||||
await assert.snapshot('test', 'snapshot');
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
import assert from 'node:assert';
|
||||
|
||||
await assert.snapshot("changed", "snapshot");
|
||||
await assert.snapshot('changed', 'snapshot');
|
||||
Reference in new issue
Block a user