Skip to content

Commit

Permalink
refactor: better naming for separator tests
Browse files Browse the repository at this point in the history
  • Loading branch information
juanjoDiaz committed Dec 12, 2023
1 parent 8734eac commit 2df6e26
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/node/test/separator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe("separator", () => {

const separators = ["", "\n", "\t\n", "abc", "SEPARATOR"];
separators.forEach((separator) => {
test(`separator: ${separator}`, async () => {
test(`separator: "${separator}"`, async () => {
let i = 0;

await runJSONParserTest(
Expand Down
2 changes: 1 addition & 1 deletion packages/plainjs/test/separator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe("separator", () => {

const separators = ["", "\n", "\t\n", "abc", "SEPARATOR"];
separators.forEach((separator) => {
test(`separator: ${separator}`, async () => {
test(`separator: "${separator}"`, async () => {
let i = 0;

await runJSONParserTest(
Expand Down
2 changes: 1 addition & 1 deletion packages/whatwg/test/separator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe("separator", () => {

const separators = ["", "\n", "\t\n", "abc", "SEPARATOR"];
separators.forEach((separator) => {
test(`separator: ${separator}`, async () => {
test(`separator: "${separator}"`, async () => {
let i = 0;

await runJSONParserTest(
Expand Down

0 comments on commit 2df6e26

Please sign in to comment.