Skip to content

Commit

Permalink
merge with main
Browse files Browse the repository at this point in the history
  • Loading branch information
ss2165 committed Aug 31, 2023
1 parent 4177593 commit a77e14f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/hugr/rewrite/insert_identity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,10 @@ mod tests {
use super::super::simple_replace::test::dfg_hugr;
use super::*;
use crate::{
algorithm::nest_cfgs::test::build_conditional_in_loop_cfg, extension::prelude::QB_T,
ops::handle::NodeHandle, Hugr,
algorithm::nest_cfgs::test::build_conditional_in_loop_cfg,
extension::{prelude::QB_T, prelude_registry},
ops::handle::NodeHandle,
Hugr,
};

#[rstest]
Expand All @@ -133,7 +135,7 @@ mod tests {

assert_eq!(noop, LeafOp::Noop { ty: QB_T });

h.validate().unwrap();
h.validate(&prelude_registry()).unwrap();
}

#[test]
Expand Down

0 comments on commit a77e14f

Please sign in to comment.