Skip to content

Commit a307c23

Browse files
committed
Fixed test
1 parent 83bbead commit a307c23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/java/PixmapTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public void execute() throws Exception {
1818
bitmap.allocPixels(ImageInfo.makeN32Premul(10, 20));
1919
bitmap.erase(0xFF112233);
2020

21-
try (var pixmap = bitmap.peekPixelsToPixmap()) {
21+
try (var pixmap = bitmap.peekPixels()) {
2222
assertNotEquals(null, pixmap);
2323

2424
assertEquals(10, pixmap.getWidth());

0 commit comments

Comments
 (0)