Skip to content

Commit b295396

Browse files
committed
fix panic assertio
1 parent ef2ce4a commit b295396

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/internal_event_handlers_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -697,12 +697,12 @@ func TestWorkflowExecutionEventHandler_ProcessEvent_no_error_events(t *testing.T
697697

698698
func TestGetVersion_validation(t *testing.T) {
699699
t.Run("version < minSupported", func(t *testing.T) {
700-
assert.PanicsWithValue(t, `Workflow code removed support of version 1. for \"test\" changeID. The oldest supported version is 2`, func() {
700+
assert.PanicsWithValue(t, `Workflow code removed support of version 1. for "test" changeID. The oldest supported version is 2`, func() {
701701
validateVersion("test", 1, 2, 3)
702702
})
703703
})
704704
t.Run("version > maxSupported", func(t *testing.T) {
705-
assert.PanicsWithValue(t, `Workflow code is too old to support version 3 for \"test\" changeID. The maximum supported version is 2`, func() {
705+
assert.PanicsWithValue(t, `Workflow code is too old to support version 3 for "test" changeID. The maximum supported version is 2`, func() {
706706
validateVersion("test", 3, 1, 2)
707707
})
708708
})

0 commit comments

Comments
 (0)