diff options
| -rw-r--r-- | tests/remembering.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/remembering.go b/tests/remembering.go index 5c3b705..53ca00f 100644 --- a/tests/remembering.go +++ b/tests/remembering.go @@ -528,6 +528,16 @@ func test_run_flow() { assertEq(rc, 0) assertEq(out, "-pz\n") }) + + testing("operands stop option parsing", func() { + rc, out, _ := runWith( + "", + "-p", "t10", + "sh", "-c", "echo \"$0\"", "-pz", + ) + assertEq(rc, 0) + assertEq(out, "-pz\n") + }) }) } |
