Add a test for tabs in manual

This commit is contained in:
Tim Hockin 2020-11-09 08:53:29 -08:00
parent 719a93d431
commit ea469c1ed4
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")
}
}