diff --git a/compiler/tests/mod.rs b/compiler/tests/mod.rs index 25d3d0dd47..14236d70f7 100644 --- a/compiler/tests/mod.rs +++ b/compiler/tests/mod.rs @@ -39,7 +39,7 @@ pub(crate) fn get_error(program: EdwardsTestCompiler) -> CompilerError { pub(crate) fn fail_enforce(program: EdwardsTestCompiler) { match get_error(program) { CompilerError::FunctionError(FunctionError::StatementError( - StatementError::SynthesisError(_), + StatementError::AssertionFailed(_, _), )) => {} error => panic!("Expected evaluate error, got {}", error), }