str: stop encoding invalid out-of-range char
This commit is contained in:
parent
58eb70a5e2
commit
51eb1e14d4
2 changed files with 3 additions and 23 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue