summaryrefslogtreecommitdiff
path: root/std/flags/whitespace_test.ts
blob: 9f66dfdfc00a204439aba449058c3c414ecd2737 (plain)
1
2
3
4
5
6
7
8
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { test } from "../testing/mod.ts";
import { assertEquals } from "../testing/asserts.ts";
import { parse } from "./mod.ts";

test(function whitespaceShouldBeWhitespace(): void {
  assertEquals(parse(["-x", "\t"]).x, "\t");
});