@@ -63,7 +63,8 @@ func TestExtractErrorMessage_DoesNotFalselyMatchTimeout(t *testing.T) {
6363 // The timeout pattern should NOT match because the extracted message only
6464 // contains stderr and exit error, not the command flags.
6565 matched := errorconfig .MatchesAnyRegexpPattern (msg , patterns )
66- assert .False (t , matched , "timeout pattern should NOT match when 'timeout' only appears in command flags; cleaned message: %s" , msg )
66+ assert .False (t , matched ,
67+ "timeout pattern should NOT match when 'timeout' only appears in command flags; cleaned message: %s" , msg )
6768}
6869
6970func TestExtractErrorMessage_StillMatchesRealTimeout (t * testing.T ) {
@@ -88,7 +89,8 @@ func TestExtractErrorMessage_StillMatchesRealTimeout(t *testing.T) {
8889
8990 msg := errorconfig .ExtractErrorMessage (err )
9091 matched := errorconfig .MatchesAnyRegexpPattern (msg , patterns )
91- assert .True (t , matched , "timeout pattern should match when stderr actually contains 'timeout'; cleaned message: %s" , msg )
92+ assert .True (t , matched ,
93+ "timeout pattern should match when stderr actually contains 'timeout'; cleaned message: %s" , msg )
9294}
9395
9496func TestExtractErrorMessage_StillMatchesTimeoutInStderrWithFlags (t * testing.T ) {
@@ -114,7 +116,8 @@ func TestExtractErrorMessage_StillMatchesTimeoutInStderrWithFlags(t *testing.T)
114116
115117 msg := errorconfig .ExtractErrorMessage (err )
116118 matched := errorconfig .MatchesAnyRegexpPattern (msg , patterns )
117- assert .True (t , matched , "timeout pattern should match when stderr actually contains 'timeout'; cleaned message: %s" , msg )
119+ assert .True (t , matched ,
120+ "timeout pattern should match when stderr actually contains 'timeout'; cleaned message: %s" , msg )
118121}
119122
120123func TestExtractErrorMessage_NonProcessError (t * testing.T ) {
0 commit comments