From a53af0c94f8f1b6c00f5f5f3fc183a58aab6affe Mon Sep 17 00:00:00 2001 From: Nathan Gass Date: Wed, 17 Jul 2013 11:32:00 +0000 Subject: revert special --opts syntax as -opts does not warn on missing dashes anyway --- tests/exec.t | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/exec.t') diff --git a/tests/exec.t b/tests/exec.t index 4702681..da5113d 100755 --- a/tests/exec.t +++ b/tests/exec.t @@ -52,14 +52,14 @@ is( "... with disabled short option" ); is( - it::shell_command("echo {--opts}", array('--opts' => array('longopt' => true))), + it::shell_command("echo {-opts}", array('-opts' => array('longopt' => true))), "echo --longopt", - "... long option without dashes for --opts" + "... long option without dashes" ); is( - it::shell_command("echo {--opts}", array('--opts' => array('s' => true))), + it::shell_command("echo {-opts}", array('-opts' => array('s' => true))), "echo -s", - "... short option without dashes for --opts" + "... short option without dashes" ); foreach (array("", "C", "de_CH", "de_CH.utf8") as $locale) { -- cgit v1.2.3