Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
adityagoel4512 committed Jan 9, 2024
1 parent 0410a90 commit 3bea8b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions onnxruntime/test/providers/cpu/nn/regex_full_match_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ TEST(RegexFullMatch, EmailMatch) {

TEST(RegexFullMatch, MultibyteMatch) {
RunTest({1, 2}, {"ä", "a"}, "ä", {true, false});
RunTest({1,}, {"une cédille like in Besançon"}, R"(.*cédille.*)", {true,});
RunTest({1,}, {"une cédille like in Besançon"}, R"(.*cedille.*)", {false,});
RunTest({1,}, {"une cédille like in Besançon"}, R"(.*Besançon.*)", {true,});
RunTest({1,}, {"une cédille like in Besançon"}, R"(.*Besancon.*)", {false,});
RunTest({1,}, {"Mit freundlichen Grüßen"}, R"(.*Grüßen$)", {true,});
RunTest({1,}, {"Mit freundlichen Grüßen"}, R"(.*Grußen$)", {false,});
RunTest({3,}, {"HПонедельник", "Понедельник", "недельник"}, R"(^Понед.*)", {false, true, false,});
Expand Down

0 comments on commit 3bea8b1

Please sign in to comment.