Skip to content

Commit 5ba65de

Browse files
apollo_compile_to_casm: fix regex in test
Signed-off-by: Dori Medini <[email protected]>
1 parent e82adc0 commit 5ba65de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/apollo_compile_to_casm/src/compile_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ fn test_max_memory_usage() {
162162
audited_libfuncs_only: false,
163163
});
164164
let compilation_result = compiler.compile(contract_class);
165-
let expected_error_pattern = Regex::new(r"memory allocation .* fail").unwrap();
165+
let expected_error_pattern = Regex::new(r"memory allocation .*fail").unwrap();
166166
assert_matches!(compilation_result, Err(CompilationUtilError::CompilationError(string))
167167
if expected_error_pattern.is_match(&string)
168168
);

0 commit comments

Comments
 (0)