diff options
author | Aleksey Kladov <[email protected]> | 2019-02-08 11:49:43 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-02-08 11:49:43 +0000 |
commit | 12e3b4c70b5ef23b2fdfc197296d483680e125f9 (patch) | |
tree | 71baa0e0a62f9f6b61450501c5f821f67badf9e4 /crates/ra_syntax/src/string_lexing/string.rs | |
parent | 5cb1d41a30d25cbe136402644bf5434dd667f1e5 (diff) |
reformat the world
Diffstat (limited to 'crates/ra_syntax/src/string_lexing/string.rs')
-rw-r--r-- | crates/ra_syntax/src/string_lexing/string.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/crates/ra_syntax/src/string_lexing/string.rs b/crates/ra_syntax/src/string_lexing/string.rs index 064f08544..a4742a0d1 100644 --- a/crates/ra_syntax/src/string_lexing/string.rs +++ b/crates/ra_syntax/src/string_lexing/string.rs | |||
@@ -120,12 +120,7 @@ mod tests { | |||
120 | fn closed_char_component(src: &str) -> StringComponent { | 120 | fn closed_char_component(src: &str) -> StringComponent { |
121 | let (has_closing_quote, components) = parse(src); | 121 | let (has_closing_quote, components) = parse(src); |
122 | assert!(has_closing_quote, "char should have closing quote"); | 122 | assert!(has_closing_quote, "char should have closing quote"); |
123 | assert!( | 123 | assert!(components.len() == 1, "Literal: {}\nComponents: {:#?}", src, components); |
124 | components.len() == 1, | ||
125 | "Literal: {}\nComponents: {:#?}", | ||
126 | src, | ||
127 | components | ||
128 | ); | ||
129 | components[0].clone() | 124 | components[0].clone() |
130 | } | 125 | } |
131 | 126 | ||