fix tests better
This commit is contained in:
parent
5db4d620f2
commit
ba12ed06ed
@ -556,8 +556,8 @@ mod test {
|
||||
println!("r#\"\n{}\"#", str);
|
||||
assert_eq!(str, &r#"
|
||||
--> dummy.txt:11:1
|
||||
11 |> e-lä-vän
|
||||
|> ^
|
||||
11 |> e-lä-vän
|
||||
|> ^
|
||||
"#[1..]);
|
||||
}
|
||||
|
||||
|
@ -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..]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user