fix tests better

This commit is contained in:
Niko Matsakis 2016-04-26 22:52:56 -04:00
parent 5db4d620f2
commit ba12ed06ed
2 changed files with 5 additions and 5 deletions

View File

@ -556,8 +556,8 @@ mod test {
println!("r#\"\n{}\"#", str);
assert_eq!(str, &r#"
--> dummy.txt:11:1
11 |> e--vän
|> ^
11 |> e--vän
|> ^
"#[1..]);
}

View File

@ -405,8 +405,8 @@ impl SomeTrait for () {
println!("r#\"\n{}\"", text);
assert_eq!(text, &r#"
>>>>>> foo.rs
3 |> fn foo(x: u32) {
|> -
3 |> fn foo(x: u32) {
|> -
"#[1..]);
}
@ -516,6 +516,6 @@ fn span_overlap_label3() {
3 |> let closure = || {
|> - foo
4 |> inner
|> ---- bar
|> ----- bar
"#[1..]);
}