From 4646c9365eab1e9efad48e71828184b068b071bb Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Sat, 8 Oct 2016 12:53:53 -0700 Subject: [PATCH] Update shebang test notes --- src/tests.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tests.rs b/src/tests.rs index b38ea63..07a732f 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -182,16 +182,16 @@ d: c #[test] fn shebang() { // this test exists to make sure that shebang recipes - // are run correctly. although it is still executed - // by sh its behavior depends on the value of a - // variable, which would not be available if it were - // a plain recipe + // run correctly. although this script is still + // executed by sh its behavior depends on the value of a + // variable and continuing even though a command fails let text = " a: #!/usr/bin/env sh code=200 function x { return $code; } x + x "; match expect_success(text).run(&["a"]).unwrap_err() {