File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 55 "fmt"
66 "os"
77 "reflect"
8+ "runtime"
89 "testing"
910
1011 "github.com/google/go-cmp/cmp"
@@ -272,6 +273,10 @@ func TestMarkdownTable(t *testing.T) {
272273 t .Run ("success Table()" , func (t * testing.T ) {
273274 t .Parallel ()
274275
276+ if runtime .GOOS == "windows" {
277+ t .Skip ("Skip test on Windows due to line feed mismatch" )
278+ }
279+
275280 m := NewMarkdown (os .Stdout )
276281 set := TableSet {
277282 Header : []string {"Name" , "Age" },
@@ -378,6 +383,10 @@ func TestMarkdownCustomTable(t *testing.T) {
378383 t .Run ("success Table()" , func (t * testing.T ) {
379384 t .Parallel ()
380385
386+ if runtime .GOOS == "windows" {
387+ t .Skip ("Skip test on Windows due to line feed mismatch" )
388+ }
389+
381390 m := NewMarkdown (os .Stdout )
382391 set := TableSet {
383392 Header : []string {"Name" , "Age" },
You can’t perform that action at this time.
0 commit comments