Skip to content

Commit 1066b65

Browse files
author
nchika
committed
skip test on windows runtime
1 parent 9253615 commit 1066b65

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

markdown_test.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import (
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"},

0 commit comments

Comments
 (0)