File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/test/kotlin/com/fasterxml/jackson/module/kotlin/test/github Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
10
10
import com.fasterxml.jackson.module.kotlin.testPrettyWriter
11
11
import org.junit.Test
12
12
import kotlin.test.assertEquals
13
- import kotlin.test.assertNotEquals
14
13
15
14
// Most of the current behavior has been tested on GitHub464, so only serializer-related behavior is tested here.
16
15
class GitHub524 {
@@ -59,12 +58,13 @@ class GitHub524 {
59
58
60
59
class SerializeByAnnotation (@get:JsonSerialize(using = Serializer ::class) val foo : HasSerializer = HasSerializer (1))
61
60
61
+ // fixed on #659
62
62
@Test
63
- fun failing () {
64
- val writer = jacksonObjectMapper().writerWithDefaultPrettyPrinter ()
63
+ fun getterAnnotated () {
64
+ val writer = jacksonObjectMapper().testPrettyWriter ()
65
65
66
66
// JsonSerialize is not working now.
67
- assertNotEquals (
67
+ assertEquals (
68
68
"""
69
69
{
70
70
"foo" : "HasSerializer(value=1)"
You can’t perform that action at this time.
0 commit comments