From 4b138a14ab1db67e1940b84a47431f583dd31048 Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Wed, 14 Feb 2018 19:57:15 +0100 Subject: [PATCH] fix tests when using nix >=1.12 --- ofborg/src/nix.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ofborg/src/nix.rs b/ofborg/src/nix.rs index 4ad4958..6183c47 100644 --- a/ofborg/src/nix.rs +++ b/ofborg/src/nix.rs @@ -344,7 +344,7 @@ mod tests { assert_run( ret, Expect::Pass, - vec!["-success.drv", "building path(s)", "hi", "-success"], + vec!["-success.drv", "building ", "hi", "-success"], ); } @@ -363,7 +363,7 @@ mod tests { Expect::Fail, vec![ "-failed.drv", - "building path(s)", + "building ", "hi", "failed to produce output path", ],