Skip to content

Commit

Permalink
fix test for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kyoh86 committed Dec 27, 2020
1 parent 2b84a29 commit 2508957
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions editor/test/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package test
import (
"bytes"
"io/ioutil"
"path/filepath"
"strings"
"testing"

Expand All @@ -23,8 +24,8 @@ func TestE2E(t *testing.T) {
}
return buf
}
raws := bytes.Split(mustAsset(t, "/sample/out_raw.txt"), []byte("\n"))
exps := bytes.Split(mustAsset(t, "/sample/out_colored.txt"), []byte("\n"))
raws := bytes.Split(mustAsset(t, filepath.Join("/", "sample", "out_raw.txt")), []byte("\n"))
exps := bytes.Split(mustAsset(t, filepath.Join("/", "sample", "out_colored.txt")), []byte("\n"))

config.Default()
editor := New()
Expand Down

0 comments on commit 2508957

Please sign in to comment.