We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
assert!
check_unique
NodeId
Graphs
1 parent 0932c74 commit 7510aecCopy full SHA for 7510aec
pdg/src/info.rs
@@ -224,10 +224,16 @@ mod test {
224
225
fn check_unique(pdg: &Graphs, unique: &[NodeId], non_unique: &[NodeId]) {
226
for &unique in unique {
227
- assert!(info(pdg, unique).unique);
+ assert!(
228
+ info(pdg, unique).unique,
229
+ "expected {unique} to be unique in {pdg}"
230
+ );
231
}
232
for &non_unique in non_unique {
- assert!(!info(pdg, non_unique).unique);
233
234
+ !info(pdg, non_unique).unique,
235
+ "expected {non_unique} to be non-unique in {pdg}"
236
237
238
239
0 commit comments