mirror of
https://github.com/protocolbuffers/protobuf
synced 2026-08-26 02:23:14 -04:00
Internal changes
PiperOrigin-RevId: 515648197
This commit is contained in:
parent
b6777d29cc
commit
25dfc39b11
29 changed files with 43 additions and 54 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue