a0133350bf
Address special case condiction for U+017F. Bug: v8:9356 Change-Id: Id24e5e2c999b198bf0f696aea8c98f223508c051 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1827683 Commit-Queue: Frank Tang <ftang@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/master@{#64028}
15 lines
569 B
JavaScript
15 lines
569 B
JavaScript
// Copyright 2019 the V8 project authors. All rights reserved.
|
||
// Use of this source code is governed by a BSD-style license that can be
|
||
// found in the LICENSE file.
|
||
|
||
assertFalse(/ſ/i.test('ſ'.toUpperCase()));
|
||
assertFalse(/ſ/i.test('ſ'.toUpperCase()[0]));
|
||
assertTrue(/ſ/i.test('ſ'));
|
||
assertTrue(/ſ/i.test('ſ'[0]));
|
||
assertFalse(/ſ/i.test('s'.toUpperCase()));
|
||
assertFalse(/ſ/i.test('s'.toUpperCase()[0]));
|
||
assertFalse(/ſ/i.test('S'.toUpperCase()));
|
||
assertFalse(/ſ/i.test('S'.toUpperCase()[0]));
|
||
assertFalse(/ſ/i.test('S'));
|
||
assertFalse(/ſ/i.test('S'[0]));
|