]> git.lizzy.rs Git - rust.git/blobdiff - crates/ide/src/references.rs
Strip leading whitespace from test ouput in `references`
[rust.git] / crates / ide / src / references.rs
index c0ede0b88121d207610bf15527e8bbd765785908..2d3a0f598122b32affda50d6756ba4a78cead6cd 100644 (file)
@@ -1059,7 +1059,7 @@ fn check_with_scope(ra_fixture: &str, search_scope: Option<SearchScope>, expect:
                 actual += "\n";
             }
         }
-        expect.assert_eq(&actual)
+        expect.assert_eq(actual.trim_start())
     }
 
     #[test]