Merge pull request #305 from thockin/v4-breakings

Add a test for tabs in manual
This commit is contained in:
Kubernetes Prow Robot 2020-11-09 08:58:30 -08:00 committed by GitHub
commit 93e74c2527
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -18,6 +18,7 @@ package main
import (
"os"
"strings"
"testing"
"time"
)
@ -143,3 +144,9 @@ func TestEnvDuration(t *testing.T) {
}
}
}
func TestManualHasNoTabs(t *testing.T) {
if strings.Contains(manual, "\t") {
t.Fatal("the manual text contains a tab")
}
}