Update reader_test.go
don't run for windows
@@ -8,10 +8,14 @@ import (
"io/ioutil"
"os"
"path/filepath"
+ "runtime"
"testing"
)
func TestCorpusSymlinks(t *testing.T) {
+
+ // avoid symbolic link error on windows
+ if runtime.GOOS != "windows" {
fds, err := ioutil.ReadDir("corpus")
if err != nil {
t.Fatal(err)
@@ -34,3 +38,4 @@ func TestCorpusSymlinks(t *testing.T) {
}
}
}
+}
