Merge pull request #76 from LnL7/nix-tests

fix tests when using nix >=1.12
This commit is contained in:
Graham Christensen 2018-02-14 18:31:58 -05:00 committed by GitHub
commit 6d215f3332
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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",
], ],