M12 — the Android client, end to end #2
@@ -135,7 +135,9 @@ mod tests {
|
||||
fn accepts_an_uppercase_hash() {
|
||||
// The wire format isn't guaranteed to be lowercase; the filename is.
|
||||
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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user