]> git.lizzy.rs Git - rust.git/commitdiff
Add a test for #2111
authortopecongiro <seuchida@gmail.com>
Thu, 23 Nov 2017 03:36:57 +0000 (12:36 +0900)
committertopecongiro <seuchida@gmail.com>
Thu, 23 Nov 2017 03:36:57 +0000 (12:36 +0900)
tests/source/issue-2111.rs [new file with mode: 0644]
tests/target/issue-2111.rs [new file with mode: 0644]

diff --git a/tests/source/issue-2111.rs b/tests/source/issue-2111.rs
new file mode 100644 (file)
index 0000000..d1b0205
--- /dev/null
@@ -0,0 +1,28 @@
+// rustfmt-normalize_comments: false
+
+// An import with single line comments.
+use super::{
+    SCHEMA_VERSIONS,
+    LodaModel,
+    ModelProperties,
+    StringMap,
+    ModelSelector,
+    RequestDescription,
+    MethodDescription,
+    ModelBehaviour,
+    ModelRequestGraph,
+    DelayChoice,
+    Holding,
+    Destinations,
+    ModelEdges,
+    Switch,
+    //    ModelMetaData,
+    //    Generated,
+    //    SecondsString,
+    //    DateString,
+    //    ModelConfiguration,
+    //    ModelRequests,
+    //    RestResponse,
+    //    RestResponseCode,
+    //    UniformHolding
+};
diff --git a/tests/target/issue-2111.rs b/tests/target/issue-2111.rs
new file mode 100644 (file)
index 0000000..13303a7
--- /dev/null
@@ -0,0 +1,26 @@
+// rustfmt-normalize_comments: false
+
+// An import with single line comments.
+use super::{DelayChoice,
+            Destinations,
+            Holding,
+            LodaModel,
+            MethodDescription,
+            ModelBehaviour,
+            ModelEdges,
+            ModelProperties,
+            ModelRequestGraph,
+            ModelSelector,
+            RequestDescription,
+            StringMap,
+            Switch,
+            //    ModelMetaData,
+            //    Generated,
+            //    SecondsString,
+            //    DateString,
+            //    ModelConfiguration,
+            //    ModelRequests,
+            //    RestResponse,
+            //    RestResponseCode,
+            //    UniformHolding
+            SCHEMA_VERSIONS};