Upgraded to Gradle 6.6 and Kotlin 1.4.0.
This commit is contained in:
parent
414a096314
commit
7adbddd3a3
16 changed files with 74 additions and 119 deletions
|
@ -354,7 +354,7 @@ class AkismetTest {
|
|||
|
||||
@Test
|
||||
fun jsonCommentTest() {
|
||||
val jsonComment = Akismet.jsonComment(mockComment.toString())
|
||||
val jsonComment = Akismet.jsonComment(mockComment.toJson())
|
||||
|
||||
assertEquals(jsonComment, mockComment, "equals")
|
||||
assertEquals(jsonComment.hashCode(), mockComment.hashCode(), "hashcode")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue