Skip to content

Commit 7fb8962

Browse files
committed
all-features
1 parent f15eccb commit 7fb8962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hugr-core/src/hugr/validate/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ mod extension_tests {
968968

969969
#[rstest]
970970
#[case::d1(|signature| ops::DFG {signature}.into())]
971-
#[case::f1(|sig: Signature| ops::FuncDefn {name: "foo".to_string(), signature: sig.into()}.into())]
971+
#[case::f1(|sig: Signature| ops::FuncDefn::new("foo", sig, true).into())]
972972
#[case::c1(|signature| ops::Case {signature}.into())]
973973
fn parent_extension_mismatch(
974974
#[case] parent_f: impl Fn(Signature) -> OpType,

0 commit comments

Comments
 (0)