aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/makefile/functions.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/makefile/functions.rs b/src/makefile/functions.rs
index 8594046..abd1abb 100644
--- a/src/makefile/functions.rs
+++ b/src/makefile/functions.rs
@@ -473,4 +473,11 @@ mod test {
);
Ok(())
}
+
+ #[test]
+ fn shell() -> R {
+ let result = call!(shell "echo hi");
+ assert_eq!(result, "hi");
+ Ok(())
+ }
}