str: stop encoding invalid out-of-range char
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user