Skip to content

Commit 3271d90

Browse files
committed
fix panic assertio
1 parent 1af757b commit 3271d90

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
@@ -722,12 +722,12 @@ func TestSideEffect(t *testing.T) {
722722

723723
func TestGetVersion_validation(t *testing.T) {
724724
t.Run("version < minSupported", func(t *testing.T) {
725-
assert.PanicsWithValue(t, `Workflow code removed support of version 1. for \"test\" changeID. The oldest supported version is 2`, func() {
725+
assert.PanicsWithValue(t, `Workflow code removed support of version 1. for "test" changeID. The oldest supported version is 2`, func() {
726726
validateVersion("test", 1, 2, 3)
727727
})
728728
})
729729
t.Run("version > maxSupported", func(t *testing.T) {
730-
assert.PanicsWithValue(t, `Workflow code is too old to support version 3 for \"test\" changeID. The maximum supported version is 2`, func() {
730+
assert.PanicsWithValue(t, `Workflow code is too old to support version 3 for "test" changeID. The maximum supported version is 2`, func() {
731731
validateVersion("test", 3, 1, 2)
732732
})
733733
})

0 commit comments

Comments
 (0)