Skip to content

NonEmptyListAssert results in NoSuchMethodError with Arrow 2.1.2 #84

@jdsatlin

Description

@jdsatlin

Attempting to use in.rcard.assertj.arrowcore.NonEmptyListAssert.Companion.assertThat with the latest version of Arrow (probably everything 2+) leads to an error like java.lang.NoSuchMethodError: 'in.rcard.assertj.arrowcore.NonEmptyListAssert in.rcard.assertj.arrowcore.NonEmptyListAssert$Companion.assertThat-97PweJY(java.util.List) - this issue does not reproduce using Arrow 1.2.4 (matching dependency version with the library), so I believe this had to do with the binary compatibility break in Arrow 2

See https://github.com/jdsatlin/assertj-arrow-nel-reproduction for minimum reproduction (just a brand new intellij template kotlin app with this library and arrow added, and a single test using NonEmptyListAssert)

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingmaintenanceDependecy update request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions