Skip to content

Commit a189226

Browse files
committed
Fix test.
1 parent 465addf commit a189226

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/port/test_port.rs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,11 +178,16 @@ fn port_debug_printing() {
178178
("name", "Ok(\"port_has_debug_string:debug_info\")"),
179179
("connections", "0"),
180180
("port_type", "Ok(\"32 bit float mono audio\")"),
181-
("port_flags", "IS_INPUT"),
181+
("port_flags", "PortFlags(IS_INPUT)"),
182182
("aliases", "[\"this_port_alias\""),
183183
];
184184
for &(k, v) in parts.iter() {
185185
let p = format!("{k}: {v}");
186-
assert!(got.contains(&p));
186+
assert!(
187+
got.contains(&p),
188+
"Output:\n{}\nDoes not contain:\n\t{}",
189+
got,
190+
p
191+
);
187192
}
188193
}

0 commit comments

Comments
 (0)