Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
Signed-off-by: David Kocher <[email protected]>
  • Loading branch information
dkocher committed Jul 2, 2020
1 parent d5597bc commit a865143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/com/sun/jna/NativeLibraryTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a865143

Please sign in to comment.