iter 22b.2.7: fix — use examples_dir() helper in superclass-instance test
This commit is contained in:
@@ -1180,9 +1180,7 @@ mod tests {
|
||||
/// model requires `instance S T` whenever `instance C T` exists.
|
||||
#[test]
|
||||
fn instance_without_superclass_instance_fires() {
|
||||
let entry = std::path::PathBuf::from(
|
||||
"../../examples/test_22b2_missing_superclass_instance.ail.json",
|
||||
);
|
||||
let entry = examples_dir().join("test_22b2_missing_superclass_instance.ail.json");
|
||||
let err = load_workspace(&entry)
|
||||
.expect_err("must fire missing-superclass-instance");
|
||||
match err {
|
||||
|
||||
Reference in New Issue
Block a user