diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/ProjectionsTokenTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/ProjectionsTokenTest.java index b7d5b9d2226cc..9a918ebee5519 100644 --- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/ProjectionsTokenTest.java +++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/ProjectionsTokenTest.java @@ -31,15 +31,15 @@ class ProjectionsTokenTest { - @Test - void assertGetStopIndex() { - assertThat(new ProjectionsToken(10, Collections.emptyMap()).getStopIndex(), is(10)); - } + @Test + void assertGetStopIndex() { + assertThat(new ProjectionsToken(10, Collections.emptyMap()).getStopIndex(), is(10)); + } - @Test - void assertToStringWithoutRouteUnit() { - Map> projections = new HashMap<>(1, 1); - RouteUnit routeUnit = new RouteUnit(new RouteMapper("foo_ds", "foo_ds_0"), Collections.singleton(new RouteMapper("foo_tbl", "foo_tbl_1"))); - assertThat(new ProjectionsToken(0, Collections.singletonMap(routeUnit, Collections.singleton("foo_col"))).toString(routeUnit), is(", foo_col")); - } + @Test + void assertToStringWithoutRouteUnit() { + Map> projections = new HashMap<>(1, 1); + RouteUnit routeUnit = new RouteUnit(new RouteMapper("foo_ds", "foo_ds_0"), Collections.singleton(new RouteMapper("foo_tbl", "foo_tbl_1"))); + assertThat(new ProjectionsToken(0, Collections.singletonMap(routeUnit, Collections.singleton("foo_col"))).toString(routeUnit), is(", foo_col")); + } }