Skip to content

Commit 414ee9a

Browse files
committed
Remove test case that assumes FromStr provides TryFrom<&'a str>.
See https://travis-ci.org/rust-lang/rust/jobs/269861252
1 parent b0edfce commit 414ee9a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/libcore/tests/char.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ fn test_convert() {
3232
#[test]
3333
fn test_from_str() {
3434
assert_eq!(char::from_str("a").unwrap(), 'a');
35-
assert_eq!(char::try_from("a").unwrap(), 'a');
3635
assert_eq!(char::from_str("\0").unwrap(), '\0');
3736
assert_eq!(char::from_str("\u{D7FF}").unwrap(), '\u{d7FF}');
3837
assert!(char::from_str("").is_err());

0 commit comments

Comments
 (0)