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:
cjihrig authored and RafaelGSS committed 2022-09-07 09:20:52 -03:00
1 parent ae028e8ac3
commit 0d77342a39
5 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -1,3 +1,3 @@
import assert from 'node:assert';
await assert.snapshot("test", "name");
await assert.snapshot('test', 'name');
+2 -2
View File
@@ -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
View File
@@ -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
View File
@@ -1,3 +1,3 @@
import assert from 'node:assert';
await assert.snapshot("test", "snapshot");
await assert.snapshot('test', 'snapshot');
+1 -1
View File
@@ -1,3 +1,3 @@
import assert from 'node:assert';
await assert.snapshot("changed", "snapshot");
await assert.snapshot('changed', 'snapshot');