Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingDepot committed May 13, 2024
1 parent afdc925 commit e39c670
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 92 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class SignatureTest {
val pairArgument = mockk<Literal<Pair<Int, String>>>()

@AfterEach
fun clearMocks() {
fun clearMockks() {
clearAllMocks()
}

Expand Down
9 changes: 0 additions & 9 deletions codyze-cli/config-custom-2.json

This file was deleted.

9 changes: 0 additions & 9 deletions codyze-cli/config-custom.json

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,6 @@ class TestModel {
fun preventZeroKelvin(test: TestModel) =
never(test.setKelvin(0))


/*
@Rule("Must call kelvin before celsius")
fun forceKelvinBeforeCelsius(test: TestModel) =
order(test::getCelsius) {
- some(test::setKelvin)
- test::getCelsius
}
*/

@Rule("Must call kelvin before celsius")
fun forceKelvinBeforeCelsius(test: TestModel) =
test.setKelvin(Wildcard) precedes test.getCelsius()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ fun forceKelvinBeforeCelsius(kelv: SetKelvin, cels: SetCelsius, call: Call) =
order(call.call()) {
- some(kelv::kelvin)
- maybe(cels::celsius)
}
}

0 comments on commit e39c670

Please sign in to comment.