diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-12-06 20:57:04 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-12-06 20:57:04 +0000 |
commit | 66f656134f349f943905cfe44f5005263dc635f9 (patch) | |
tree | 513b56d0c4757f37fa318b964ac1f630e246680b /crates/ra_syntax/src/grammar/items | |
parent | 8e60e751cbcfa47c7bed788dfe2ab5cebfcb78b3 (diff) | |
parent | 29793e7de978c9f0fa2d46bad624fc49d2506b11 (diff) |
Merge #261
261: Add heavy test for code actions r=matklad a=flodiebold
Here's the test for the code actions; I didn't find anything fitting on crates.io ([assert-json-diff](https://crates.io/crates/assert-json-diff) looks kind of nice, but doesn't have anything like the wildcards), so I copied the cargo code as you suggested.
Co-authored-by: Florian Diebold <[email protected]>
Diffstat (limited to 'crates/ra_syntax/src/grammar/items')
-rw-r--r-- | crates/ra_syntax/src/grammar/items/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/grammar/items/mod.rs b/crates/ra_syntax/src/grammar/items/mod.rs index 682266908..4473c2fab 100644 --- a/crates/ra_syntax/src/grammar/items/mod.rs +++ b/crates/ra_syntax/src/grammar/items/mod.rs | |||
@@ -159,7 +159,7 @@ pub(super) fn maybe_item(p: &mut Parser, flavor: ItemFlavor) -> MaybeItem { | |||
159 | MaybeItem::Modifiers | 159 | MaybeItem::Modifiers |
160 | } else { | 160 | } else { |
161 | MaybeItem::None | 161 | MaybeItem::None |
162 | } | 162 | }; |
163 | } | 163 | } |
164 | }; | 164 | }; |
165 | 165 | ||