rob05c commented on code in PR #6892:
URL: https://github.com/apache/trafficcontrol/pull/6892#discussion_r894535100
##########
lib/go-atscfg/remapdotconfig_test.go:
##########
@@ -2329,15 +2329,15 @@ func
TestMakeRemapDotConfigEdgeHostRegexReplacementHTTPS(t *testing.T) {
txtLines := strings.Split(txt, "\n")
- if len(txtLines) != 2 {
+ if len(txtLines) != 3 { // comment, blank, and remap
t.Fatalf("expected 1 remaps from HTTPS DS, actual: '%v' count
%v", txt, len(txtLines))
Review Comment:
There's only 1 remap, the other 2 lines are a comment and a blank
##########
lib/go-atscfg/remapdotconfig_test.go:
##########
@@ -2451,15 +2451,15 @@ func
TestMakeRemapDotConfigEdgeHostRegexReplacementHTTPToHTTPS(t *testing.T) {
txtLines := strings.Split(txt, "\n")
- if len(txtLines) != 2 {
+ if len(txtLines) != 3 { // comment, blank and remap
t.Fatalf("expected 1 remaps from HTTP_TO_HTTPS DS, actual: '%v'
count %v", txt, len(txtLines))
Review Comment:
There's only 1 remap, the other 2 lines are a comment and a blank
--
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]