Skip to content

Commit

Permalink
revert back to curly quotes.
Browse files Browse the repository at this point in the history
  • Loading branch information
TaLeaMonet committed Sep 9, 2020
1 parent b5b8364 commit 69671b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/lib/rules/jsx-no-literals.js
Expand Up @@ -28,19 +28,19 @@ const parserOptions = {
// ------------------------------------------------------------------------------

function stringsMessage(str) {
return `Strings not allowed in JSX files: "${str}"`;
return `Strings not allowed in JSX files: ${str}`;
}

function jsxMessage(str) {
return `Missing JSX expression container around literal string: "${str}"`;
return `Missing JSX expression container around literal string: ${str}`;
}

function invalidProp(str) {
return `Invalid prop value: "${str}"`;
return `Invalid prop value: ${str}`;
}

function attributeMessage(str) {
return `Strings not allowed in attributes: "${str}"`;
return `Strings not allowed in attributes: ${str}`;
}

const ruleTester = new RuleTester({parserOptions});
Expand Down

0 comments on commit 69671b3

Please sign in to comment.