Skip to content

Conversation

@manodnyab
Copy link
Contributor

License

I confirm that my contribution is made under the terms of the Apache 2.0 license.

@manodnyab manodnyab requested a review from a team as a code owner October 17, 2024 21:14
fun `test addToExistingTelemetryBatch with allowed extension`() {
service.addToExistingTelemetryBatch("kt")
assert(service.getOpenedFileTypes().contains("kt"))
assert(service.getOpenedFileTypes().contains(".kt"))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use assertj

Suggested change
assert(service.getOpenedFileTypes().contains(".kt"))
assertThat(service.getOpenedFileTypes()).contains(".kt")

fun `test addToExistingTelemetryBatch with allowed extension`() {
service.addToExistingTelemetryBatch("kt")
assert(service.getOpenedFileTypes().contains("kt"))
assert(service.getOpenedFileTypes().contains(".kt"))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also lets try to use JUnit5 for new tests

@manodnyab
Copy link
Contributor Author

/retryBuilds

@github-actions
Copy link

github-actions bot commented Oct 24, 2024

Qodana Community for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

@manodnyab manodnyab merged commit 39c13ea into main Oct 28, 2024
16 of 17 checks passed
@manodnyab manodnyab deleted the manodnyb/addExtraPeriodInMetrics branch October 28, 2024 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants