Skip to content

Commit

Permalink
std: Add regression test for #32074
Browse files Browse the repository at this point in the history
Just to make sure we don't accidentally break this in the future.
  • Loading branch information
alexcrichton committed Mar 21, 2016
1 parent 7c66a89 commit bef69a1
Showing 1 changed file with 6 additions and 0 deletions.
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");
}
}

0 comments on commit bef69a1

Please sign in to comment.