Skip to content

Commit 4943dba

Browse files
java-team-github-botgoogle-java-format Team
authored andcommitted
Remove a bunch of assume()s which are now always true.
PiperOrigin-RevId: 808961882
1 parent 13ce22d commit 4943dba

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

core/src/test/java/com/google/googlejavaformat/java/ModifierOrdererTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
package com.google.googlejavaformat.java;
1818

1919
import static com.google.common.truth.Truth.assertThat;
20-
import static com.google.common.truth.TruthJUnit.assume;
2120

2221
import com.google.common.base.Joiner;
2322
import com.google.common.collect.Range;
@@ -107,7 +106,6 @@ public void whitespace() throws FormatterException {
107106

108107
@Test
109108
public void sealedClass() throws FormatterException {
110-
assume().that(Runtime.version().feature()).isAtLeast(16);
111109
assertThat(ModifierOrderer.reorderModifiers("non-sealed sealed public").getText())
112110
.isEqualTo("public sealed non-sealed");
113111
}

0 commit comments

Comments
 (0)