File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ))
You can’t perform that action at this time.
0 commit comments