Skip to content

Commit

Permalink
test: Add data in tests for no-duplicate-keys rule (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjermanovic authored Oct 15, 2024
1 parent cac8847 commit c621b10
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/rules/no-duplicate-keys.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ ruleTester.run("no-duplicate-keys", rule, {
errors: [
{
messageId: "duplicateKey",
data: { key: "foo" },
line: 1,
column: 12,
endLine: 1,
Expand All @@ -58,6 +59,7 @@ ruleTester.run("no-duplicate-keys", rule, {
errors: [
{
messageId: "duplicateKey",
data: { key: "foo" },
line: 5,
column: 5,
endLine: 5,
Expand All @@ -71,6 +73,7 @@ ruleTester.run("no-duplicate-keys", rule, {
errors: [
{
messageId: "duplicateKey",
data: { key: "foo" },
line: 1,
column: 10,
endLine: 1,
Expand All @@ -89,6 +92,7 @@ ruleTester.run("no-duplicate-keys", rule, {
errors: [
{
messageId: "duplicateKey",
data: { key: "foo" },
line: 5,
column: 5,
endLine: 5,
Expand All @@ -102,6 +106,7 @@ ruleTester.run("no-duplicate-keys", rule, {
errors: [
{
messageId: "duplicateKey",
data: { key: "foo" },
line: 1,
column: 12,
endLine: 1,
Expand All @@ -120,6 +125,7 @@ ruleTester.run("no-duplicate-keys", rule, {
errors: [
{
messageId: "duplicateKey",
data: { key: "foo" },
line: 5,
column: 5,
endLine: 5,
Expand Down

0 comments on commit c621b10

Please sign in to comment.