Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Change local dep to snapshots, fix one last unit test failure (wrt co…

…mpilation on 1.5)
  • Loading branch information...
commit e34ea7d817e8a4116f4435a24cbe207809c7ed60 1 parent b034ca5
@cowtowncoder cowtowncoder authored
View
4 pom.xml
@@ -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
View
6 src/test/java/com/fasterxml/jackson/databind/deser/TestEnumDeserialization.java
@@ -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);
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.