diff options
Diffstat (limited to 'dev-java/jnr-ffi/files/jnr-ffi-1.0.6-junit48.patch')
-rw-r--r-- | dev-java/jnr-ffi/files/jnr-ffi-1.0.6-junit48.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-java/jnr-ffi/files/jnr-ffi-1.0.6-junit48.patch b/dev-java/jnr-ffi/files/jnr-ffi-1.0.6-junit48.patch new file mode 100644 index 000000000000..92b4cb2bcfc3 --- /dev/null +++ b/dev-java/jnr-ffi/files/jnr-ffi-1.0.6-junit48.patch @@ -0,0 +1,11 @@ +--- a/src/test/java/jnr/ffi/ObjectReferenceManagerTest.java ++++ b/src/test/java/jnr/ffi/ObjectReferenceManagerTest.java +@@ -35,7 +35,7 @@ + Pointer ptr = referenceManager.add(bar); + Pointer ptr2 = referenceManager.add(bar2); + assertNotSame(ptr, ptr2); +- assertNotEquals(ptr, ptr2); ++ assertTrue(!ptr.equals(ptr2)); + assertSame(bar, referenceManager.get(ptr)); + assertSame(bar2, referenceManager.get(ptr2)); + } |