mirror of
https://github.com/AleoHQ/leo.git
synced 2025-01-01 22:36:52 +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