From c408245e5dbe777836b391aa3ecdacc710749ebe Mon Sep 17 00:00:00 2001 From: Kevin Yeh Date: Mon, 23 Nov 2015 22:54:44 -0600 Subject: [PATCH] Add impl newline tests --- tests/source/impls.rs | 10 ++++++++++ tests/target/impls.rs | 6 ++++++ 2 files changed, 16 insertions(+) diff --git a/tests/source/impls.rs b/tests/source/impls.rs index 499b07afd27..c15ae12325e 100644 --- a/tests/source/impls.rs +++ b/tests/source/impls.rs @@ -26,6 +26,16 @@ impl Foo { fn foo() {} } +impl Boo { + + // BOO + fn boo() {} + // FOO + + + +} + mod a { impl Foo { // Hello! diff --git a/tests/target/impls.rs b/tests/target/impls.rs index cc60b822794..972991572a5 100644 --- a/tests/target/impls.rs +++ b/tests/target/impls.rs @@ -42,6 +42,12 @@ impl Foo { fn foo() {} } +impl Boo { + // BOO + fn boo() {} + // FOO +} + mod a { impl Foo { // Hello!