summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2012-03-22 19:43:52 +0000
committerUrban Müller2012-03-22 19:43:52 +0000
commitf5e2d8058ee6d8d014b0303dae231e5ae1ae27df (patch)
treebab98acdc81b4da425b0376fd8e33969cec79a38
parent4574035ec43cabf050a7ab036bbba1cd2447a18f (diff)
downloaditools-f5e2d8058ee6d8d014b0303dae231e5ae1ae27df.tar.gz
itools-f5e2d8058ee6d8d014b0303dae231e5ae1ae27df.tar.bz2
itools-f5e2d8058ee6d8d014b0303dae231e5ae1ae27df.zip
converted to utf-8
-rwxr-xr-xtests/getopt.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/getopt.t b/tests/getopt.t
index 7a84588..d67738d 100755
--- a/tests/getopt.t
+++ b/tests/getopt.t
@@ -17,7 +17,7 @@ function getopt_ok($argv, $exp, $name)
return is($got['argument'], $exp, $name);
}
-foreach (array("" => "blah gnaber", " (umlaute)" => "pre üäpost") as $variant => $testarg) {
+foreach (array("" => "blah gnaber", " (umlaute)" => "pre üäpost") as $variant => $testarg) {
getopt_ok(array('-a', $testarg), $testarg, "Short version" . $variant);
getopt_ok(array('--argument', $testarg), $testarg, "Long version with space" . $variant);
getopt_ok(array("--argument=$testarg"), $testarg, "Long version with equal" . $variant);