rob05c commented on code in PR #6892:
URL: https://github.com/apache/trafficcontrol/pull/6892#discussion_r894619413
##########
lib/go-atscfg/storagedotconfig_test.go:
##########
@@ -112,7 +112,7 @@ func TestMakeStorageDotConfigNoParams(t *testing.T) {
testComment(t, txt, hdr)
- if count := strings.Count(txt, "\n"); count != 2 { // comment plus a
blank line
+ if count := strings.Count(txt, "\n"); count != 3 { // comment header
plus its blank plus a blank line
t.Errorf("expected one line for comment, plus one blank line
(it's important to send a blank line, to prevent many callers from returning a
404), actual: '"+txt+"' count %v", count)
Review Comment:
Ah, I thought you meant the inline comment. Ok, I changed the error message
as well.
--
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]