From 334b4107859637ebad2e65dcd37502aa48622495 Mon Sep 17 00:00:00 2001 From: topecongiro Date: Thu, 23 Nov 2017 12:36:57 +0900 Subject: [PATCH] Add a test for #2111 --- tests/source/issue-2111.rs | 28 ++++++++++++++++++++++++++++ tests/target/issue-2111.rs | 26 ++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 tests/source/issue-2111.rs create mode 100644 tests/target/issue-2111.rs diff --git a/tests/source/issue-2111.rs b/tests/source/issue-2111.rs new file mode 100644 index 00000000000..d1b02053e2a --- /dev/null +++ b/tests/source/issue-2111.rs @@ -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 index 00000000000..13303a736a3 --- /dev/null +++ b/tests/target/issue-2111.rs @@ -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};