summaryrefslogtreecommitdiff
path: root/flags/whitespace_test.ts
blob: f0f24703c64bbf5dd1c8065499feea011b1f863e (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() {
  assertEquals(parse(["-x", "\t"]).x, "\t");
});