Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove duplicated test
  • Loading branch information
Trayan-Zapryanov committed Jun 4, 2024
commit 9fba64e711b9e91f78292fbe3973c05bfdd4a657
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,7 @@ public static IEnumerable<object[]> JavaScriptStringEncodeData
yield return new object[] { "", "" };
yield return new object[] {"No escaping needed.", "No escaping needed."};
yield return new object[] {"The \t and \n will need to be escaped.", "The \\t and \\n will need to be escaped."};
yield return new object[] { "The \t and \n will need to be escaped.", "The \\t and \\n will need to be escaped." };
yield return new object[] { "The \t and \n will need to be escaped.>", "The \\t and \\n will need to be escaped.\\u003e" };
yield return new object[] {"The \t and \n will need to be escaped.>", "The \\t and \\n will need to be escaped.\\u003e" };
for (char c = char.MinValue; c < TestMaxChar; c++)
{
if (c >= 0 && c <= 7 || c == 11 || c >= 14 && c <= 31 || c == 38 || c == 39 || c == 60 || c == 62 || c == 133 || c == 8232 || c == 8233)
Expand Down