Skip to content

Commit 1489522

Browse files
authored
Merge pull request #58 from jetmore/fix-appinfo-test
fix naive casting in AppInfo_Integration test that was causing false …
2 parents 8cf7798 + 8f5c510 commit 1489522

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/com/greenfiling/smclient/AppInfo_UnitTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ public void testGetAppInfo() throws Exception {
3939
// The artifact is built by maven. There are some times it won't be available (for instance 'mvn clean tests'). But if this fails during deploy,
4040
// something is actually wrong
4141
// the library uses 0 as its uninitialized value, so that's the flag that we didn't find what we were looking for
42-
assertThat("artifact info was not able to be looked up", (int) a.getTimestamp(), greaterThan(0));
42+
assertThat("artifact info was not able to be looked up", a.getTimestamp(), greaterThan((long) 0));
4343
}
4444
}

0 commit comments

Comments
 (0)