Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
std: Add regression test for #32074
Just to make sure we don't accidentally break this in the future.
  • Loading branch information
alexcrichton committed Mar 21, 2016
commit bef69a116e0042fbd92dfa08de68da73765f4c14
6 changes: 6 additions & 0 deletions src/libstd/ascii.rs
Original file line number Diff line number Diff line change
Expand Up @@ -669,4 +669,10 @@ mod tests {
&from_u32(lower).unwrap().to_string()));
}
}

#[test]
fn inference_works() {
let x = "a".to_string();
x.eq_ignore_ascii_case("A");
}
}