You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to reproduce
Call only() on a list with more than one element. e.g.:
[1, 2].only()
What should happen
A MoreThenOneElementException is thrown.
What does happen
The following error is thrown:
java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.RuntimeException do not match. Expected -1 but got 5
at com.dnahodil.groovy.extensions.MoreThanOneElementException.<init>(MoreThanOneElementException.groovy:6)
at com.dnahodil.groovy.extensions.ListExtensions.only(ListExtensions.groovy:13)
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Call only() on a list with more than one element. e.g.:
What should happen
A MoreThenOneElementException is thrown.
What does happen
The following error is thrown:
The text was updated successfully, but these errors were encountered: