Skip to content

Commit

Permalink
- fix test case
Browse files Browse the repository at this point in the history
- set sourceCompatibility 1.7
  • Loading branch information
gythialy committed Dec 2, 2014
1 parent b917339 commit 66eda5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ group = 'org.openmuc'
def projectName = 'j60870'
def projectNameLowerCase = 'j60870'

sourceCompatibility = 1.6
targetCompatibility = 1.6
sourceCompatibility = 1.7
targetCompatibility = 1.7

repositories { mavenCentral() }

Expand Down
2 changes: 1 addition & 1 deletion src/test/java/org/openmuc/j60870/CP56Time2aTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public void testTimestampToCalendar() {
IeTime56 time = new IeTime56(timestamp);
byte[] buffer = new byte[7];
time.encode(buffer, 0);
Assert.assertArrayEquals(new byte[]{0x44, (byte) 0xd5, 0x1e, 0x10, 0x5d, 0x0a, 0x0d},
Assert.assertArrayEquals(new byte[]{0x44, (byte) 0xd5, 0x1e, 0x17, 0x5d, 0x0a, 0x0d},
buffer);

Assert.assertEquals(timestamp, time.getTimestamp());
Expand Down

0 comments on commit 66eda5a

Please sign in to comment.