ocket8888 commented on code in PR #6892:
URL: https://github.com/apache/trafficcontrol/pull/6892#discussion_r894588966


##########
lib/go-atscfg/remapdotconfig_test.go:
##########
@@ -2085,15 +2085,15 @@ func TestMakeRemapDotConfigEdgeHostRegexReplacement(t 
*testing.T) {
 
        txtLines := strings.Split(txt, "\n")
 
-       if len(txtLines) != 3 {
+       if len(txtLines) != 4 {
                t.Fatalf("expected 3 remaps from HTTP_AND_HTTPS DS, actual: 
'%v' count %v", txt, len(txtLines))

Review Comment:
   But currently if you have 3 remaps but no blank line as output then this 
will print out "expected 3 remaps ... actual:" and then three remaps and a 
count of 3, so what the problem is remains a mystery to anyone reading it. The 
text doesn't reflect what's actually expected.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to