Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjdawson2016 authored Nov 5, 2020
1 parent eb3c076 commit d75fe9c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions service/history/decisionChecker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -519,10 +519,10 @@ func (s *decisionAttrValidatorSuite) TestValidateTaskListName() {
{"", taskList("/__cadence_sys"), taskList("/__cadence_sys"), false},
{"", nil, &workflow.TaskList{}, true},
{"", taskList(""), taskList(""), true},
{"", taskList(reservedTaskListPrefix), taskList(reservedTaskListPrefix), true},
{"tl-1", taskList(reservedTaskListPrefix), taskList(reservedTaskListPrefix), true},
{"", taskList(reservedTaskListPrefix + "tl-1"), taskList(reservedTaskListPrefix + "tl-1"), true},
{"tl-1", taskList(reservedTaskListPrefix + "tl-1"), taskList(reservedTaskListPrefix + "tl-1"), true},
{"", taskList(common.ReservedTaskListPrefix), taskList(common.ReservedTaskListPrefix), true},
{"tl-1", taskList(common.ReservedTaskListPrefix), taskList(common.ReservedTaskListPrefix), true},
{"", taskList(common.ReservedTaskListPrefix + "tl-1"), taskList(common.ReservedTaskListPrefix + "tl-1"), true},
{"tl-1", taskList(common.ReservedTaskListPrefix + "tl-1"), taskList(common.ReservedTaskListPrefix + "tl-1"), true},
}

for _, tc := range testCases {
Expand Down

0 comments on commit d75fe9c

Please sign in to comment.