mirror of
https://gitee.com/openharmony/third_party_rust_unicode-ident
synced 2024-11-23 07:29:52 +00:00
Merge pull request #14 from dtolnay/unicodexid
Pull in unicode 15.0.0 support in unicode-xid for test
This commit is contained in:
commit
f6f4235938
@ -17,7 +17,7 @@ fst = "0.4"
|
||||
rand = { version = "0.8", features = ["small_rng"] }
|
||||
roaring = "0.10"
|
||||
ucd-trie = { version = "0.1", default-features = false }
|
||||
unicode-xid = "0.2"
|
||||
unicode-xid = "0.2.4"
|
||||
|
||||
[[bench]]
|
||||
name = "xid"
|
||||
|
@ -14,8 +14,6 @@ fn compare_all_implementations() {
|
||||
let thought_to_be_continue = unicode_ident::is_xid_continue(ch);
|
||||
|
||||
// unicode-xid
|
||||
// FIXME: unicode-xid does not support Unicode 15.0.0 yet.
|
||||
/*
|
||||
assert_eq!(
|
||||
thought_to_be_start,
|
||||
unicode_xid::UnicodeXID::is_xid_start(ch),
|
||||
@ -26,7 +24,6 @@ fn compare_all_implementations() {
|
||||
unicode_xid::UnicodeXID::is_xid_continue(ch),
|
||||
"{ch:?}",
|
||||
);
|
||||
*/
|
||||
|
||||
// ucd-trie
|
||||
assert_eq!(
|
||||
|
Loading…
Reference in New Issue
Block a user