Pull in unicode 15.0.0 support in unicode-xid for test

This commit is contained in:
David Tolnay 2022-09-16 22:01:46 -07:00
parent 2580817601
commit 046ec50bf6
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
2 changed files with 1 additions and 4 deletions

View File

@ -17,7 +17,7 @@ fst = "0.4"
rand = { version = "0.8", features = ["small_rng"] } rand = { version = "0.8", features = ["small_rng"] }
roaring = "0.10" roaring = "0.10"
ucd-trie = { version = "0.1", default-features = false } ucd-trie = { version = "0.1", default-features = false }
unicode-xid = "0.2" unicode-xid = "0.2.4"
[[bench]] [[bench]]
name = "xid" name = "xid"

View File

@ -14,8 +14,6 @@ fn compare_all_implementations() {
let thought_to_be_continue = unicode_ident::is_xid_continue(ch); let thought_to_be_continue = unicode_ident::is_xid_continue(ch);
// unicode-xid // unicode-xid
// FIXME: unicode-xid does not support Unicode 15.0.0 yet.
/*
assert_eq!( assert_eq!(
thought_to_be_start, thought_to_be_start,
unicode_xid::UnicodeXID::is_xid_start(ch), unicode_xid::UnicodeXID::is_xid_start(ch),
@ -26,7 +24,6 @@ fn compare_all_implementations() {
unicode_xid::UnicodeXID::is_xid_continue(ch), unicode_xid::UnicodeXID::is_xid_continue(ch),
"{ch:?}", "{ch:?}",
); );
*/
// ucd-trie // ucd-trie
assert_eq!( assert_eq!(