From e3123ce88c2f52c646bcec912c0f0747f76a7f95 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 24 Dec 2015 00:15:29 +0300 Subject: [PATCH] test ignored out of line modules tests #719 --- tests/source/mod_skip_child.rs | 2 ++ tests/source/nested_skipped/mod.rs | 3 +++ tests/target/mod_skip_child.rs | 2 ++ tests/target/nested_skipped/mod.rs | 3 +++ 4 files changed, 10 insertions(+) create mode 100644 tests/source/mod_skip_child.rs create mode 100644 tests/source/nested_skipped/mod.rs create mode 100644 tests/target/mod_skip_child.rs create mode 100644 tests/target/nested_skipped/mod.rs diff --git a/tests/source/mod_skip_child.rs b/tests/source/mod_skip_child.rs new file mode 100644 index 00000000000..d48c4a37e81 --- /dev/null +++ b/tests/source/mod_skip_child.rs @@ -0,0 +1,2 @@ +// rustfmt-skip_children: true +mod nested_skipped; diff --git a/tests/source/nested_skipped/mod.rs b/tests/source/nested_skipped/mod.rs new file mode 100644 index 00000000000..44b25ca8797 --- /dev/null +++ b/tests/source/nested_skipped/mod.rs @@ -0,0 +1,3 @@ +fn ugly() { +92; +} diff --git a/tests/target/mod_skip_child.rs b/tests/target/mod_skip_child.rs new file mode 100644 index 00000000000..d48c4a37e81 --- /dev/null +++ b/tests/target/mod_skip_child.rs @@ -0,0 +1,2 @@ +// rustfmt-skip_children: true +mod nested_skipped; diff --git a/tests/target/nested_skipped/mod.rs b/tests/target/nested_skipped/mod.rs new file mode 100644 index 00000000000..44b25ca8797 --- /dev/null +++ b/tests/target/nested_skipped/mod.rs @@ -0,0 +1,3 @@ +fn ugly() { +92; +}