Skip to content

Commit

Permalink
Fix lint problem in stateBuilder test (cadence-workflow#1616)
Browse files Browse the repository at this point in the history
  • Loading branch information
yycptt authored Mar 28, 2019
1 parent be9717c commit 630993c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions service/history/stateBuilder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,14 @@ func (s *stateBuilderSuite) toHistory(events ...*shared.HistoryEvent) []*shared.
}

func (s *stateBuilderSuite) TestApplyEvents_EventTypeWorkflowExecutionStarted_NoCronSchedule() {
s.applyEvents_EventTypeWorkflowExecutionStartedTest("")
s.applyWorkflowExecutionStartedEventTest("")
}

func (s *stateBuilderSuite) TestApplyEvents_EventTypeWorkflowExecutionStarted_WithCronSchedule() {
s.applyEvents_EventTypeWorkflowExecutionStartedTest("* * * * *")
s.applyWorkflowExecutionStartedEventTest("* * * * *")
}

func (s *stateBuilderSuite) applyEvents_EventTypeWorkflowExecutionStartedTest(cronSchedule string) {
func (s *stateBuilderSuite) applyWorkflowExecutionStartedEventTest(cronSchedule string) {
version := int64(1)
requestID := uuid.New()
domainID := validDomainID
Expand Down

0 comments on commit 630993c

Please sign in to comment.