diff options
Diffstat (limited to 'flags/tests/whitespace.ts')
| -rwxr-xr-x | flags/tests/whitespace.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/flags/tests/whitespace.ts b/flags/tests/whitespace.ts new file mode 100755 index 000000000..1af0e77d2 --- /dev/null +++ b/flags/tests/whitespace.ts @@ -0,0 +1,6 @@ +import { test, assertEqual } from "https://deno.land/x/testing/testing.ts"; +import parseArgs from "../index.ts"; + +test(function whitespaceShouldBeWhitespace() { + assertEqual(parseArgs([ '-x', '\t' ]).x, '\t'); +}); |
