assertk icon indicating copy to clipboard operation
assertk copied to clipboard

Improve genericity

Open NinoDLC opened this issue 3 years ago • 2 comments

assertThat(1).isEqualTo("a") shouldn't compile, but it does.

NinoDLC avatar Jun 05 '22 16:06 NinoDLC

See https://github.com/willowtreeapps/assertk/issues/72#issuecomment-388643084

evant avatar Jun 05 '22 17:06 evant

That's sad to support a code smell but that was an interesting read. Thanks!

NinoDLC avatar Jun 09 '22 14:06 NinoDLC