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
Lines changed: 1 addition & 1 deletion
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');
Lines changed: 2 additions & 2 deletions
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');
Lines changed: 2 additions & 2 deletions
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');
Lines changed: 1 addition & 1 deletion
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');
Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy