Internal changes

PiperOrigin-RevId: 515648197
This commit is contained in:
Mike Kruskal 2023-03-10 08:50:34 -08:00 committed by Copybara-Service
parent b6777d29cc
commit 25dfc39b11
29 changed files with 43 additions and 54 deletions

View file

@ -45,10 +45,10 @@ public class JavaVersionTest {
return;
}
// Java 8's version is read as "1.8"
if(exp.equals("8")) exp = "1.8";
if (exp.equals("8")) exp = "1.8";
String version = System.getProperty("java.version");
assertWithMessage("Expected Java " + exp + " but found Java " + version)
.that(version.startsWith(exp))
.isTrue();
.that(version.startsWith(exp))
.isTrue();
}
}