summaryrefslogtreecommitdiff
path: root/std/flags/whitespace_test.ts
blob: 9e6ba71156ac80a931d0d7c0694418ee317b72a2 (plain)
1
2
3
4
5
6
7
8
// Copyright 2018-2019 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");
});