From 134fe4f566d94fd4ca91c6417fab0ae7b3e4275f Mon Sep 17 00:00:00 2001 From: DJMcNab <36049421+DJMcNab@users.noreply.github.com> Date: Thu, 20 Dec 2018 16:45:54 +0000 Subject: Fix the tests and fix the precommit hook --- crates/ra_syntax/tests/data/parser/inline/ok/0031_while_expr.rs | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 crates/ra_syntax/tests/data/parser/inline/ok/0031_while_expr.rs (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0031_while_expr.rs') diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0031_while_expr.rs b/crates/ra_syntax/tests/data/parser/inline/ok/0031_while_expr.rs new file mode 100644 index 000000000..293046a04 --- /dev/null +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0031_while_expr.rs @@ -0,0 +1,4 @@ +fn foo() { + while true {}; + while let Some(x) = it.next() {}; +} -- cgit v1.2.3