We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
be
BeEqual
In order to maintain fluent DSL, I suggest adding be function to BeEqual interface.
true.should() be true "Hello".should() be "Hello"
interface BeEqual<T, R : BeEqual<T, R>> {
infix fun be(expected: T): R = beEqual()
}
As a counterpart we may add notBe
notBe
"Hello".should() notBe "World"
The text was updated successfully, but these errors were encountered:
Do you suggest be to be an alias for beEqual or rename beEqual to be?
beEqual
Sorry, something went wrong.
#12 add be and notBe to BeEqual interface
2e47254
Just to allow use more native DSL.
Merge pull request #19 from from-source/be_equal
7674f96
No branches or pull requests
In order to maintain fluent DSL, I suggest adding
be
function toBeEqual
interface.interface BeEqual<T, R : BeEqual<T, R>> {
}
As a counterpart we may add
notBe
The text was updated successfully, but these errors were encountered: