Test: pin the modifier-letter table to the toolchain's Unicode version
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
3cf499dbd4
commit
2ce6325b70
1 changed files with 12 additions and 0 deletions
|
|
@ -394,6 +394,18 @@ fn s6_folds_dotless_i_kana_and_arabic_indic_digits() {
|
||||||
.unwrap();
|
.unwrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// `modifier_letters.txt` is the Unicode 17 Lm list, the oracle for the test
|
||||||
|
/// below. When the toolchain's Unicode tables move, this fails first: regenerate
|
||||||
|
/// the file from the new tables, then bump the pin.
|
||||||
|
#[test]
|
||||||
|
fn the_modifier_letter_table_matches_the_toolchains_unicode_version() {
|
||||||
|
assert_eq!(
|
||||||
|
char::UNICODE_VERSION,
|
||||||
|
(17, 0, 0),
|
||||||
|
"regenerate crates/weksa/tests/modifier_letters.txt for the new Unicode version"
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn a_text_of_only_marks_is_refused() {
|
fn a_text_of_only_marks_is_refused() {
|
||||||
let d = dir();
|
let d = dir();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue