presubmit: check for uppercase (#1774)
Another thing we can test automatically, we sorta settled on using an uppercase letter in in t.Log and t.Fatal calls. Let's just check for this.
This commit is contained in:
parent
15d989e294
commit
643550eabe
25 changed files with 104 additions and 90 deletions
|
@ -5,7 +5,7 @@ import "testing"
|
|||
func TestTempFile(t *testing.T) {
|
||||
_, f, e := TempFile(".", "test")
|
||||
if e != nil {
|
||||
t.Fatalf("failed to create temp file: %s", e)
|
||||
t.Fatalf("Failed to create temp file: %s", e)
|
||||
}
|
||||
defer f()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue