aboutsummaryrefslogtreecommitdiffstats
path: root/src/parse/test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse/test.rs')
-rw-r--r--src/parse/test.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/parse/test.rs b/src/parse/test.rs
index 9a7e359..2ea3f9c 100644
--- a/src/parse/test.rs
+++ b/src/parse/test.rs
@@ -34,3 +34,11 @@ fn string_concat() {
pipes([cmd([estr(b"foobarbaz")])]),
);
}
+
+#[test]
+fn simple_string() {
+ parse_test(
+ parse(b"foo"),
+ pipes([cmd([estr(b"foo")])]),
+ );
+}