From 40cadb7b493fb9012dd0fce0a7c1ca23df4b228d Mon Sep 17 00:00:00 2001 From: Nathan Lilienthal Date: Tue, 30 Jan 2024 18:25:33 -0500 Subject: [PATCH] Add a test for #70 equal sign WORDs --- tests/posix.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/posix.rs b/tests/posix.rs index c7f9e8a3..4b440fe5 100644 --- a/tests/posix.rs +++ b/tests/posix.rs @@ -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"); +}