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
This was discovered while fixing #91.
Given this test:
@MicronautTest @Property(name = "foo.bar", value = "stuff") class PropertyValueTest(@Property(name = "foo.bar") val value: String): AnnotationSpec() { @Test fun testInitialValue() { value shouldBe "stuff" } @Property(name = "foo.bar", value = "changed") @Test fun testValueChanged() { value shouldBe "changed" } @Test fun testValueRestored() { value shouldBe "stuff" } }
testValueChanged() fails with:
testValueChanged()
org.opentest4j.AssertionFailedError: expected: "changed" but was: "stuff" Expected :"changed" Actual :"stuff"
The text was updated successfully, but these errors were encountered:
Attempt to fix #117
ca80280
Fixing Kotlin tests (#117)
6f12207
Using @value instead (#117)
beeebca
Updating documentation for #91 and #117
1370a31
alvarosanchez
Successfully merging a pull request may close this issue.
This was discovered while fixing #91.
Given this test:
testValueChanged()
fails with:The text was updated successfully, but these errors were encountered: