expr: Fix testing UnmatchedOpeningBrace

This commit is contained in:
Teemu Pätsi
2025-05-27 04:26:41 +03:00
parent 6b49b26af7
commit 639310c697
+1 -1
View File
@@ -992,7 +992,7 @@ mod test {
);
assert_eq!(
check_posix_regex_errors(r"\{1,2"),
check_posix_regex_errors(r"a\{1,2"),
Err(ExprError::UnmatchedOpeningBrace)
);
}