Skip to content

Commit

Permalink
test(analyzer): Fix-up a broken assertion
Browse files Browse the repository at this point in the history
The left hand side and right hand side operator of `shouldBe` were
accidentally made identical by [1].

[1]: 3de069b

Signed-off-by: Frank Viernau <[email protected]>
  • Loading branch information
fviernau committed May 27, 2024
1 parent db8c595 commit 4145e03
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions analyzer/src/test/kotlin/AnalyzerResultBuilderTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,13 @@ class AnalyzerResultBuilderTest : WordSpec() {
)
)

val serializedResult = result.toYaml().fromYaml<AnalyzerResult>().toYaml()
val serializedResult = result
.toYaml()
.fromYaml<AnalyzerResult>()
.toYaml()
.fromYaml<AnalyzerResult>()

serializedResult shouldBe serializedResult
serializedResult shouldBe result
}

"use the dependency graph representation on serialization" {
Expand Down

0 comments on commit 4145e03

Please sign in to comment.