From 5bde4c7ecae35cb29a003504eafa03f1776ee3a0 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Wed, 15 Jun 2022 05:04:30 +0200 Subject: BREAKING: remove `Intl.v8BreakIterator` (#14864) This is a non-standard API that is mostly replaced by `Intl.Segmenter`. --- cli/tests/unit/intl_test.ts | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 cli/tests/unit/intl_test.ts (limited to 'cli/tests') 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); +}); -- cgit v1.2.3