Skip to content

Commit 7a3a54e

Browse files
committed
Fix the test ordering
1 parent 172f6bb commit 7a3a54e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/lib.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,16 +169,17 @@ fn cldr_feature() {
169169
&[&langid!("mn-Cyrl")]
170170
);
171171

172-
// In result, the mock will just return them in order.
172+
// In result, the mock will just return both in undefined
173+
// order.
173174
#[cfg(not(feature = "cldr"))]
174175
assert_eq!(
175176
negotiate_languages(
176177
&[langid!("mn")],
177178
&[langid!("mn-Latn"), langid!("mn-Cyrl")],
178179
None,
179180
NegotiationStrategy::Filtering
180-
),
181-
&[&langid!("mn-Latn"), &langid!("mn-Cyrl")]
181+
).len(),
182+
2
182183
);
183184
}
184185

0 commit comments

Comments
 (0)