-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add replaceSmartQuotes function (#324)
- Loading branch information
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[ | ||
{ | ||
"description": "should do nothing with clean string", | ||
"funcParameter": "Track field", | ||
"expectedValue": "Track field" | ||
}, | ||
{ | ||
"description": "should remove a double left single quotation space", | ||
"funcParameter": "Track \u201cfield", | ||
"expectedValue": "Track \"field" | ||
}, | ||
{ | ||
"description": "should remove a double left and double right quotation space", | ||
"funcParameter": "Track \u201cfield\u201d", | ||
"expectedValue": "Track \"field\"" | ||
}, | ||
{ | ||
"description": "should remove a single left single quotation space", | ||
"funcParameter": "Track \u2018field", | ||
"expectedValue": "Track 'field" | ||
}, | ||
{ | ||
"description": "should remove a single left and single right quotation space", | ||
"funcParameter": "Track \u2018field\u2019", | ||
"expectedValue": "Track 'field'" | ||
}, | ||
{ | ||
"description": "should remove a single left and double right quotation space", | ||
"funcParameter": "Track \u2018field\u201d", | ||
"expectedValue": "Track 'field\"" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters