From a8651435be3875c4bba14713d7061dc3fa223c23 Mon Sep 17 00:00:00 2001 From: David Kocher Date: Thu, 2 Jul 2020 14:32:13 +0200 Subject: [PATCH] Fix test. Signed-off-by: David Kocher --- test/com/sun/jna/NativeLibraryTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/com/sun/jna/NativeLibraryTest.java b/test/com/sun/jna/NativeLibraryTest.java index fa31cfe6fa..57f89a26e2 100644 --- a/test/com/sun/jna/NativeLibraryTest.java +++ b/test/com/sun/jna/NativeLibraryTest.java @@ -282,7 +282,7 @@ public void testMatchOptionalFrameworkExists() { assertEquals("Wrong framework mapping", 1, NativeLibrary.matchFramework("QuickTime").length); assertEquals("Wrong framework mapping", "/System/Library/Frameworks/QuickTime.framework/QuickTime", - NativeLibrary.matchFramework("QuickTime")[1]); + NativeLibrary.matchFramework("QuickTime")[0]); assertEquals("Wrong framework mapping", 1, NativeLibrary.matchFramework("QuickTime.framework/Versions/Current/QuickTime").length);