M12 — the Android client, end to end #2
@@ -135,7 +135,9 @@ mod tests {
|
|||||||
fn accepts_an_uppercase_hash() {
|
fn accepts_an_uppercase_hash() {
|
||||||
// The wire format isn't guaranteed to be lowercase; the filename is.
|
// The wire format isn't guaranteed to be lowercase; the filename is.
|
||||||
let store = store("case");
|
let store = store("case");
|
||||||
store.store(&HELLO.to_ascii_uppercase(), b"hello").expect("store");
|
store
|
||||||
|
.store(&HELLO.to_ascii_uppercase(), b"hello")
|
||||||
|
.expect("store");
|
||||||
assert!(store.has(HELLO), "should be found under the lowercase name");
|
assert!(store.has(HELLO), "should be found under the lowercase name");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user