1
Fork 0

str: stop encoding invalid out-of-range char

This commit is contained in:
Daniel Micay 2013-07-05 20:35:54 -04:00
parent 58eb70a5e2
commit 51eb1e14d4
2 changed files with 3 additions and 23 deletions

View file

@ -1723,7 +1723,7 @@ mod tests {
assert_eq!(v, 0.4e-01f);
}
#[test]
// FIXME: #7611: xfailed for now
fn test_read_str() {
assert_eq!(from_str("\""),
Err(Error {line: 1u, col: 2u, msg: @~"EOF while parsing string"