add the inverse `is_not has_installed_exe` assertion
authorDale Wijnand <dale.wijnand@gmail.com>
Tue, 10 Apr 2018 14:13:26 +0000 (15:13 +0100)
committerDale Wijnand <dale.wijnand@gmail.com>
Tue, 10 Apr 2018 14:13:26 +0000 (15:13 +0100)
tests/testsuite/install.rs

index 8e3baa8cf806ac3f9a4367315f11cc565ede3b6c..f6d9bf10303ec0fc74786f35dc75bcbfe053404e 100644 (file)
@@ -1050,6 +1050,7 @@ fn installs_from_cwd_with_2018_warnings() {
              or use --path or --git to specify alternate source\
         "),
     );
+    assert_that(cargo_home(), is_not(has_installed_exe("foo")));
 }
 
 #[test]