Skip to content

Commit 7d36fc8

Browse files
authored
Merge pull request #416 from isucon/revert-414-bench-avoid-panic
Revert "fox"
2 parents ea32251 + 55f5fed commit 7d36fc8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

bench/scenario/core_pretest_initial.go

-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ func normalInitialPaymentPretest(ctx context.Context, contestantLogger *zap.Logg
2828
if err != nil {
2929
return err
3030
}
31-
if result == nil {
32-
return fmt.Errorf("api/payment のレスポンスが正しくないようです")
33-
}
3431

3532
if result.TotalTip != 0 {
3633
return fmt.Errorf("初期の売上は0ISUでなければなりません")

0 commit comments

Comments
 (0)