summaryrefslogtreecommitdiff
path: root/flags/tests/whitespace.ts
blob: 54ff067c7c676dbf62505100ddb9894aedddf4f1 (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");
});