fix tests when using nix >=1.12

This commit is contained in:
Daiderd Jordan 2018-02-14 19:57:15 +01:00
parent 8188f25a37
commit 4b138a14ab
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -344,7 +344,7 @@ mod tests {
assert_run( assert_run(
ret, ret,
Expect::Pass, Expect::Pass,
vec!["-success.drv", "building path(s)", "hi", "-success"], vec!["-success.drv", "building ", "hi", "-success"],
); );
} }
@ -363,7 +363,7 @@ mod tests {
Expect::Fail, Expect::Fail,
vec![ vec![
"-failed.drv", "-failed.drv",
"building path(s)", "building ",
"hi", "hi",
"failed to produce output path", "failed to produce output path",
], ],