summaryrefslogtreecommitdiff
path: root/cli/tests/unit/intl_test.ts
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2022-06-15 05:04:30 +0200
committerGitHub <noreply@github.com>2022-06-15 05:04:30 +0200
commit5bde4c7ecae35cb29a003504eafa03f1776ee3a0 (patch)
tree89639e1844181ee0e7ee03fba20d7d77d937f90e /cli/tests/unit/intl_test.ts
parent8bfa89a478d6ebef32cf6c93d4cdc45e4a1cc550 (diff)
BREAKING: remove `Intl.v8BreakIterator` (#14864)
This is a non-standard API that is mostly replaced by `Intl.Segmenter`.
Diffstat (limited to 'cli/tests/unit/intl_test.ts')
-rw-r--r--cli/tests/unit/intl_test.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/unit/intl_test.ts b/cli/tests/unit/intl_test.ts
new file mode 100644
index 000000000..788dd3c65
--- /dev/null
+++ b/cli/tests/unit/intl_test.ts
@@ -0,0 +1,7 @@
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+import { assertEquals } from "./test_util.ts";
+
+Deno.test("Intl.v8BreakIterator should be undefined", () => {
+ // @ts-expect-error Intl.v8BreakIterator is not a standard API
+ assertEquals(Intl.v8BreakIterator, undefined);
+});