From 96adeac50b3592c4283d21a83a8ed891d63234a8 Mon Sep 17 00:00:00 2001 From: Peter Han Date: Sun, 24 Sep 2023 13:43:08 -0700 Subject: [PATCH] Add unsupported chars error test cases --- test/Parser.test.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/Parser.test.ts b/test/Parser.test.ts index 29a5ad9..2ae92cf 100644 --- a/test/Parser.test.ts +++ b/test/Parser.test.ts @@ -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 = [