test: updated macro test
This commit is contained in:
1 file changed
+2
@@ -964,7 +964,9 @@ variables:
|
|||||||
let m: Macro = serde_yaml::from_str(content)
|
let m: Macro = serde_yaml::from_str(content)
|
||||||
.unwrap_or_else(|e| panic!("asset '{}' failed to deserialize: {e}", file.as_ref()));
|
.unwrap_or_else(|e| panic!("asset '{}' failed to deserialize: {e}", file.as_ref()));
|
||||||
|
|
||||||
|
if !content.contains("isolated:") {
|
||||||
assert!(m.isolated, "asset '{}'", file.as_ref());
|
assert!(m.isolated, "asset '{}'", file.as_ref());
|
||||||
|
}
|
||||||
assert!(!m.steps.is_empty(), "asset '{}'", file.as_ref());
|
assert!(!m.steps.is_empty(), "asset '{}'", file.as_ref());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user