Skip to content

Commit 5ffe913

Browse files
committed
See if line endings are the problem
1 parent f783427 commit 5ffe913

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.gotmpl text eol=lf

docs_test.go

+16-17
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import (
77
"io/fs"
88
"net/mail"
99
"os"
10-
"runtime"
1110
"testing"
1211

1312
"github.com/stretchr/testify/require"
@@ -162,10 +161,10 @@ func TestToMarkdownFull(t *testing.T) {
162161
}
163162

164163
func TestToTabularMarkdown(t *testing.T) {
165-
if runtime.GOOS == "windows" {
166-
t.Skipf("FIXME on windows (?)")
167-
return
168-
}
164+
// if runtime.GOOS == "windows" {
165+
// t.Skipf("FIXME on windows (?)")
166+
// return
167+
// }
169168

170169
app := buildExtendedTestCommand()
171170

@@ -205,10 +204,10 @@ func TestToTabularMarkdownFailed(t *testing.T) {
205204
}
206205

207206
func TestToTabularToFileBetweenTags(t *testing.T) {
208-
if runtime.GOOS == "windows" {
209-
t.Skipf("FIXME on windows (?)")
210-
return
211-
}
207+
// if runtime.GOOS == "windows" {
208+
// t.Skipf("FIXME on windows (?)")
209+
// return
210+
// }
212211

213212
expectedDocs, fErr := testdata.ReadFile("testdata/expected-tabular-markdown-full.md")
214213

@@ -353,10 +352,10 @@ func TestToMarkdown(t *testing.T) {
353352
}
354353

355354
func TestToMan(t *testing.T) {
356-
if runtime.GOOS == "windows" {
357-
t.Skipf("FIXME on windows (?)")
358-
return
359-
}
355+
// if runtime.GOOS == "windows" {
356+
// t.Skipf("FIXME on windows (?)")
357+
// return
358+
// }
360359

361360
app := buildExtendedTestCommand()
362361

@@ -379,10 +378,10 @@ func TestToManParseError(t *testing.T) {
379378
}
380379

381380
func TestToManWithSection(t *testing.T) {
382-
if runtime.GOOS == "windows" {
383-
t.Skipf("FIXME on windows (?)")
384-
return
385-
}
381+
// if runtime.GOOS == "windows" {
382+
// t.Skipf("FIXME on windows (?)")
383+
// return
384+
// }
386385

387386
cmd := buildExtendedTestCommand()
388387

0 commit comments

Comments
 (0)