mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-09-11 05:45:30 +03:00
fix statement test
This commit is contained in:
parent
accfff46e0
commit
2e98490b29
@ -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),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user