Skip to content

Commit c20e2ad

Browse files
authored
jextract: NFC Fix calling wrong function in the unittest (#887)
1 parent 335b734 commit c20e2ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Samples/SwiftAndJavaJarFFMSampleLib/src/test/java/com/example/swift/MySwiftLibraryTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ void call_globalCallMeLongSupplier_noThrow() {
7474

7575
@Test
7676
void call_globalCallMeDoubleSupplier_noThrow() {
77-
double result = MySwiftLibrary.globalCallMeBooleanSupplier(() -> { return 2.0; });
77+
double result = MySwiftLibrary.globalCallMeDoubleSupplier(() -> { return 2.0; });
7878
assertEquals(2.0, result);
7979
}
8080

0 commit comments

Comments
 (0)