We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6a194d commit f287d0fCopy full SHA for f287d0f
1 file changed
crates/schema/src/def/validate/v10.rs
@@ -1463,12 +1463,10 @@ mod tests {
1463
let mut raw_def = builder.finish();
1464
let tables = raw_def.tables_mut_for_tests();
1465
tables[0].constraints[0].source_name = Some("wacky.constraint()".into());
1466
- tables[0].indexes[0].name = Some("wacky.index()".into());
1467
tables[0].sequences[0].source_name = Some("wacky.sequence()".into());
1468
1469
let def: ModuleDef = raw_def.try_into().unwrap();
1470
assert!(def.lookup::<ConstraintDef>(&"wacky.constraint()".into()).is_some());
1471
- assert!(def.lookup::<IndexDef>(&"wacky.index()".into()).is_some());
1472
assert!(def.lookup::<SequenceDef>(&"wacky.sequence()".into()).is_some());
1473
}
1474
0 commit comments