update aiken code gen test
This commit is contained in:
parent
aa51ce3e3e
commit
412945af3a
|
@ -45,7 +45,7 @@ use self::{
|
||||||
lookup_data_type_by_tipo, modify_cyclic_calls, modify_self_calls, rearrange_list_clauses,
|
lookup_data_type_by_tipo, modify_cyclic_calls, modify_self_calls, rearrange_list_clauses,
|
||||||
AssignmentProperties, ClauseProperties, CodeGenSpecialFuncs, CycleFunctionNames,
|
AssignmentProperties, ClauseProperties, CodeGenSpecialFuncs, CycleFunctionNames,
|
||||||
DataTypeKey, FunctionAccessKey, HoistableFunction, Variant, CONSTR_NOT_EMPTY,
|
DataTypeKey, FunctionAccessKey, HoistableFunction, Variant, CONSTR_NOT_EMPTY,
|
||||||
INCORRECT_CONSTR, LIST_NOT_EMPTY, TOO_MANY_ITEMS,
|
LIST_NOT_EMPTY, TOO_MANY_ITEMS,
|
||||||
},
|
},
|
||||||
tree::{AirExpression, AirTree, TreePath},
|
tree::{AirExpression, AirTree, TreePath},
|
||||||
};
|
};
|
||||||
|
|
|
@ -5542,7 +5542,7 @@ fn expect_none() {
|
||||||
.apply(Term::var(CONSTR_INDEX_EXPOSER).apply(Term::var("x")))
|
.apply(Term::var(CONSTR_INDEX_EXPOSER).apply(Term::var("x")))
|
||||||
.delayed_if_then_else(
|
.delayed_if_then_else(
|
||||||
Term::bool(true),
|
Term::bool(true),
|
||||||
Term::Error.delayed_trace(Term::string("Expected on incorrect Constr variant")),
|
Term::Error.delayed_trace(Term::string("expect None = x")),
|
||||||
)
|
)
|
||||||
.lambda("x")
|
.lambda("x")
|
||||||
.apply(Term::Constant(
|
.apply(Term::Constant(
|
||||||
|
|
Loading…
Reference in New Issue