Externals shouldn't expand aliases (#4889)

This commit is contained in:
JT
2022-03-22 11:57:48 +13:00
committed by GitHub
parent 18067138aa
commit 66e736dab4
2 changed files with 5 additions and 29 deletions

View File

@ -436,14 +436,14 @@ fn test_count_counts_codepoints() {
let counters = [Counter::CodePoints];
let counts = uwc_count(&counters[..], &one);
let counts = uwc_count(&counters[..], one);
let mut correct_counts = BTreeMap::new();
correct_counts.insert(Counter::CodePoints, 1);
assert_eq!(correct_counts, counts);
let counts = uwc_count(&counters[..], &two);
let counts = uwc_count(&counters[..], two);
let mut correct_counts = BTreeMap::new();
correct_counts.insert(Counter::CodePoints, 2);