Skip to content

Commit 0599625

Browse files
committed
style: gofmt context_test.go
1 parent e95e7c0 commit 0599625

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

go/base/context_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ func TestValidateGhostTriggerLengthBelowMaxLength(t *testing.T) {
136136
// Edge case: exactly 64 chars after transformation → valid (boundary test)
137137
context := NewMigrationContext()
138138
context.TriggerSuffix = "_ght"
139-
originalName := strings.Repeat("x", 60) // 60 chars
139+
originalName := strings.Repeat("x", 60) // 60 chars
140140
ghostName := context.GetGhostTriggerName(originalName) // 60 + 4 = 64
141141
require.Equal(t, 64, len(ghostName))
142142
require.True(t, context.ValidateGhostTriggerLengthBelowMaxLength(ghostName))
@@ -145,7 +145,7 @@ func TestValidateGhostTriggerLengthBelowMaxLength(t *testing.T) {
145145
// Edge case: 65 chars after transformation → exceeds (boundary test)
146146
context := NewMigrationContext()
147147
context.TriggerSuffix = "_ght"
148-
originalName := strings.Repeat("x", 61) // 61 chars
148+
originalName := strings.Repeat("x", 61) // 61 chars
149149
ghostName := context.GetGhostTriggerName(originalName) // 61 + 4 = 65
150150
require.Equal(t, 65, len(ghostName))
151151
require.False(t, context.ValidateGhostTriggerLengthBelowMaxLength(ghostName))

0 commit comments

Comments
 (0)