fix statement test

This commit is contained in:
collin 2020-06-04 17:42:49 -07:00
parent accfff46e0
commit 2e98490b29

View File

@ -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),
}