Skip to content

Commit 66e7a44

Browse files
committed
matchingTranslationKeys.spec.js: use double quotes in 'allows correct key with arguments'
Else the test runner will complain that this is a duplicate test of allows correct key with single quotes.
1 parent 046ebd7 commit 66e7a44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/eslint-local-rules/__tests__/matchingTranslationKeys.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ ruleTester.run('local-rules/matching-translation-keys', ruleInstance, {
125125
},
126126
{
127127
name: 'allows correct key with arguments',
128-
code: '$tc(\'components.hello.world\', 0, { test: "foo" })',
128+
code: '$tc("components.hello.world", 0, { test: "foo" })',
129129
options: options,
130130
filename: '/src/components/hello.js',
131131
},

0 commit comments

Comments
 (0)