Skip to content

Commit

Permalink
Check only that major and minor version values are not 0 in TestH4.java
Browse files Browse the repository at this point in the history
line 128.
  • Loading branch information
lrknox committed Feb 5, 2024
1 parent 752bbd1 commit db17a85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/test/TestH4.java
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public void testHgetlibversion()
for (int i = 0; i < 3; i++)
assertEquals(LIB_VERSION[i], libversion[i]);

for (int i = 0; i < 3; i++)
for (int i = 0; i < 2; i++)
assertFalse(libversion[i] == 0);
}

Expand Down

0 comments on commit db17a85

Please sign in to comment.