Skip to content

Commit

Permalink
matchingTranslationKeys.spec.js: use double quotes in 'allows correct…
Browse files Browse the repository at this point in the history
… key with arguments'

Else the test runner will complain that this is a duplicate test of
allows correct key with single quotes.
  • Loading branch information
BacLuc committed Sep 12, 2024
1 parent 046ebd7 commit 66e7a44
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ ruleTester.run('local-rules/matching-translation-keys', ruleInstance, {
},
{
name: 'allows correct key with arguments',
code: '$tc(\'components.hello.world\', 0, { test: "foo" })',
code: '$tc("components.hello.world", 0, { test: "foo" })',
options: options,
filename: '/src/components/hello.js',
},
Expand Down

0 comments on commit 66e7a44

Please sign in to comment.