Skip to content

Commit

Permalink
Update test/langtools/tools/javac/patterns/PrimitivePatternsSwitch.java
Browse files Browse the repository at this point in the history
Co-authored-by: Andrey Turbanov <[email protected]>
  • Loading branch information
biboudis and turbanoff authored Mar 18, 2024
1 parent ecf909d commit 5027591
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public static void main(String[] args) {
assertEquals(Character.MAX_VALUE, testUnboxingAndWideningCharacter3(Character.MAX_VALUE));
assertEquals(Float.MAX_VALUE, testUnboxingAndWideningFloat(Float.MAX_VALUE));
assertEquals(Float.MAX_VALUE, testUnboxingAndWideningFloatExplicitCast(Float.MAX_VALUE));
assertEquals(42f, testUnboxingAndWideningLong(42l));
assertEquals(42f, testUnboxingAndWideningLong(42L));
assertEquals(2, testUnboxingAndWideningLong(Long.MAX_VALUE));
}

Expand Down

0 comments on commit 5027591

Please sign in to comment.