Skip to content

Commit

Permalink
Add unsupported chars error test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
peterthehan committed Sep 24, 2023
1 parent a2076ee commit 96adeac
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/Parser.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ const errorTestCases = [
"The effects cannot be applied to a message string that consists of only whitespaces.",
message: "glow3: ",
},
{
expected:
"The effects cannot be applied to a message string that is empty.",
message: "ΣΣ",
},
{
expected:
"The effects cannot be applied to a message string that consists of only whitespaces.",
message: "Σ Σ",
},
];

const baseTestCases = [
Expand Down

0 comments on commit 96adeac

Please sign in to comment.