Skip to content

Commit

Permalink
Change local dep to snapshots, fix one last unit test failure (wrt co…
Browse files Browse the repository at this point in the history
…mpilation on 1.5)
  • Loading branch information
cowtowncoder committed Apr 22, 2012
1 parent b034ca5 commit e34ea7d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Expand Up @@ -56,12 +56,12 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.0.0</version>
<version>2.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.0.0</version>
<version>2.0.1-SNAPSHOT</version>
</dependency>

<!-- and for testing, JUnit is needed, as well as quite a few
Expand Down
Expand Up @@ -123,10 +123,10 @@ public void testSimple() throws Exception
*/
public void testComplexEnum() throws Exception
{
String json = MAPPER.writeValueAsString(TimeUnit.HOURS);
assertEquals(quote("HOURS"), json);
String json = MAPPER.writeValueAsString(TimeUnit.SECONDS);
assertEquals(quote("SECONDS"), json);
TimeUnit result = MAPPER.readValue(json, TimeUnit.class);
assertSame(TimeUnit.HOURS, result);
assertSame(TimeUnit.SECONDS, result);
}

/**
Expand Down

0 comments on commit e34ea7d

Please sign in to comment.