Skip to content

Commit

Permalink
Add a test for #70 equal sign WORDs
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Lilienthal authored and nixpulvis committed Jan 31, 2024
1 parent b064528 commit 7bd8170
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/posix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,8 @@ fn background_command() {
// TODO: How to test the output with a PID in it?
// assert_posix!("sleep 1 & echo 1", "1\n", "[1]\t(\d*)\n");
}

#[test]
fn equal_sign() {
assert_posix!("echo =", "=\n");
}

0 comments on commit 7bd8170

Please sign in to comment.