Skip to content

Commit

Permalink
fix(trial): use gofmt to reformat code.
Browse files Browse the repository at this point in the history
Signed-off-by: Electronic-Waste <[email protected]>
  • Loading branch information
Electronic-Waste committed Sep 19, 2024
1 parent 7cb4e3e commit 9604ed4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pkg/controller.v1beta1/trial/trial_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,10 +306,10 @@ func TestReconcileBatchJob(t *testing.T) {
g.Expect(trial.IsMetricsUnavailable()).Should(gomega.BeTrue())
g.Expect(trial.Status.Observation.Metrics).ShouldNot(gomega.HaveLen(0))
g.Expect(trial.Status.Observation.Metrics[0]).Should(gomega.BeComparableTo(commonv1beta1.Metric{
Name: objectiveMetric,
Min: consts.UnavailableMetricValue,
Max: consts.UnavailableMetricValue,
Latest: consts.UnavailableMetricValue,
Name: objectiveMetric,
Min: consts.UnavailableMetricValue,
Max: consts.UnavailableMetricValue,
Latest: consts.UnavailableMetricValue,
}))
}, timeout).Should(gomega.Succeed())

Expand Down Expand Up @@ -347,10 +347,10 @@ func TestReconcileBatchJob(t *testing.T) {
g.Expect(trial.IsMetricsUnavailable()).Should(gomega.BeTrue())
g.Expect(trial.Status.Observation.Metrics).ShouldNot(gomega.HaveLen(0))
g.Expect(trial.Status.Observation.Metrics[0]).Should(gomega.BeComparableTo(commonv1beta1.Metric{
Name: objectiveMetric,
Min: consts.UnavailableMetricValue,
Max: consts.UnavailableMetricValue,
Latest: consts.UnavailableMetricValue,
Name: objectiveMetric,
Min: consts.UnavailableMetricValue,
Max: consts.UnavailableMetricValue,
Latest: consts.UnavailableMetricValue,
}))
}, timeout).Should(gomega.Succeed())

Expand Down

0 comments on commit 9604ed4

Please sign in to comment.