Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rishiranjjan committed Nov 4, 2024
1 parent 7b6e294 commit 7683aa3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,11 @@ class StepBuilder(
}

private fun buildWaitStep(): SyntheticsAPIStep {
return SyntheticsAPIStep(SyntheticsAPIWaitStep()
.name(name)
.subtype(SyntheticsAPIWaitStepSubtype.WAIT)
.value(waitDuration)
return SyntheticsAPIStep(
SyntheticsAPIWaitStep()
.name(name)
.subtype(SyntheticsAPIWaitStepSubtype.WAIT)
.value(waitDuration),
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class StepBuilderTest {

assertEquals(
SyntheticsAPIWaitStep(TEST_STEP_NAME, SyntheticsAPIWaitStepSubtype.WAIT, 30),
result.syntheticsAPIWaitStep
result.syntheticsAPIWaitStep,
)
}

Expand All @@ -93,7 +93,7 @@ class StepBuilderTest {

assertEquals(
SyntheticsAPIWaitStep(TEST_STEP_NAME, SyntheticsAPIWaitStepSubtype.WAIT, 30),
result.syntheticsAPIWaitStep
result.syntheticsAPIWaitStep,
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import org.junit.jupiter.api.Test
import java.time.DayOfWeek
import java.time.LocalTime
import java.time.ZoneId
import java.time.temporal.ChronoUnit
import kotlin.time.Duration.Companion.days
import kotlin.time.Duration.Companion.milliseconds
import kotlin.time.Duration.Companion.minutes
Expand Down

0 comments on commit 7683aa3

Please sign in to comment.