Skip to content

Commit 93e74c2

Browse files
authored
Merge pull request #305 from thockin/v4-breakings
Add a test for tabs in manual
2 parents 719a93d + ea469c1 commit 93e74c2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cmd/git-sync/main_test.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ package main
1818

1919
import (
2020
"os"
21+
"strings"
2122
"testing"
2223
"time"
2324
)
@@ -143,3 +144,9 @@ func TestEnvDuration(t *testing.T) {
143144
}
144145
}
145146
}
147+
148+
func TestManualHasNoTabs(t *testing.T) {
149+
if strings.Contains(manual, "\t") {
150+
t.Fatal("the manual text contains a tab")
151+
}
152+
}

0 commit comments

Comments
 (0)