Does the case of “got” matter in the test logs? For example, tpl/templates_test.go
has both Got
and got
:
t.Errorf("[%d] Got %v but expected %v"...
t.Errorf("[%d] got %v but expected %v"...
Does it matter? If it does, which is preferred?
Does the case of “got” matter in the test logs? For example, tpl/templates_test.go
has both Got
and got
:
t.Errorf("[%d] Got %v but expected %v"...
t.Errorf("[%d] got %v but expected %v"...
Does it matter? If it does, which is preferred?
It doesn’t matter … it would look better if the same was used for all … toss the coin or do a “grep | wc -l” and pick the winner…
PR #1029 has these updates.