Skip to content

Commit 3c5994e

Browse files
committed
Make the error message test less brittle
1 parent 5f2d6ce commit 3c5994e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

crates/ark/tests/kernel.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,7 @@ fn test_execute_request_invalid() {
141141
let input = frontend.recv_iopub_execute_input();
142142
assert_eq!(input.code, code);
143143

144-
assert_eq!(
145-
frontend.recv_iopub_execute_error(),
146-
"Error:\nSyntax error: unexpected ')'"
147-
);
144+
assert!(frontend.recv_iopub_execute_error().contains("Syntax error"));
148145

149146
frontend.recv_iopub_idle();
150147

0 commit comments

Comments
 (0)