test(xatu): use explicit path construction fixture
This commit is contained in:
@@ -14,7 +14,7 @@ fn source_file(path: &str, source: &str) -> SourceFile {
|
|||||||
fn future_sight_reports_clean_sources_as_clean() {
|
fn future_sight_reports_clean_sources_as_clean() {
|
||||||
let report = xatu::future_sight(vec![source_file(
|
let report = xatu::future_sight(vec![source_file(
|
||||||
"clean.nix",
|
"clean.nix",
|
||||||
"{ value = builtins.toString x; inherit foo; }",
|
"{ path = ./. + \"/foo\"; inherit foo; }",
|
||||||
)])
|
)])
|
||||||
.expect("fixture should parse");
|
.expect("fixture should parse");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user