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.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse/test.rs b/src/parse/test.rs
index f4ac92e..768a5a2 100644
--- a/src/parse/test.rs
+++ b/src/parse/test.rs
@@ -259,7 +259,7 @@ fn if_else() {
#[test]
fn simple_while() {
- parse_test!(parse(b"while cond { x }"), todo!());
+ parse_test!(parse(b"while cond { x }"), whil(pipes([cmd([estr(b"cond")]),]), block([pipes([cmd([estr(b"x")]),])])));
}
#[test]