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};