From 66e7a44278a802de2e6fa63c9421d1c57437c6e3 Mon Sep 17 00:00:00 2001 From: BacLuc Date: Wed, 28 Aug 2024 22:33:41 +0200 Subject: [PATCH] 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. --- .../__tests__/matchingTranslationKeys.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/eslint-local-rules/__tests__/matchingTranslationKeys.spec.js b/common/eslint-local-rules/__tests__/matchingTranslationKeys.spec.js index 42b5c3c59f..342c3c9405 100644 --- a/common/eslint-local-rules/__tests__/matchingTranslationKeys.spec.js +++ b/common/eslint-local-rules/__tests__/matchingTranslationKeys.spec.js @@ -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', },