modd icon indicating copy to clipboard operation
modd copied to clipboard

Tests does not pass on Windows

Open pavel-kolesnikov opened this issue 3 years ago • 1 comments

Hi, I've noticed the tests are not OK on Windows. Could you please confirm that on other platforms they're OK? I'm on rev b35eddab86ccfab46172b21e5608b4bc1c83a8d0

PS C:\Users\PK\Documents\github.com\cortesi\modd> go test
--- FAIL: TestWatch (27.60s)
    --- FAIL: TestWatch/single (5.54s)
        modd_test.go:112: Expected
            []string{":all: ./a/initial", ":a: ./a/initial", ":skipit: ./a/touched", ":all: ./a/touched", ":a: ./a/touched"}
            Got
            []string{}
        modd_test.go:131: Expected
            []string{":all: ./a/initial", ":a: ./a/initial", ":skipit: ./a/touched", ":all: ./a/touched", ":a: ./a/touched"}
            Got
            []string{}
    --- FAIL: TestWatch/double (5.51s)
        modd_test.go:112: Expected
            []string{":all: ./a/initial", ":a: ./a/initial", ":skipit: ./a/touched ./b/touched", ":all: ./a/touched ./b/touched", ":a: ./a/touched", ":b: ./b/touched"}
            Got
            []string{}
        modd_test.go:131: Expected
            []string{":all: ./a/initial", ":a: ./a/initial", ":skipit: ./a/touched ./b/touched", ":all: ./a/touched ./b/touched", ":a: ./a/touched", ":b: ./b/touched"}
            Got
            []string{}
    --- FAIL: TestWatch/inner (5.52s)
        modd_test.go:112: Expected
            []string{":all: ./a/initial", ":a: ./a/initial", ":skipit: ./a/inner/touched.xxx", ":all: ./a/inner/touched.xxx", ":c: ./a/inner/touched.xxx"}
            Got
            []string{}
        modd_test.go:131: Expected
            []string{":all: ./a/initial", ":a: ./a/initial", ":skipit: ./a/inner/touched.xxx", ":all: ./a/inner/touched.xxx", ":c: ./a/inner/touched.xxx"}
            Got
            []string{}
    --- FAIL: TestWatch/direct (5.51s)
        modd_test.go:112: Expected
            []string{":all: ./a/initial", ":a: ./a/initial", ":skipit: ./a/direct", ":all: ./a/direct", ":a: ./a/direct", ":d: ./a/direct"}
            Got
            []string{}
        modd_test.go:131: Expected
            []string{":all: ./a/initial", ":a: ./a/initial", ":skipit: ./a/direct", ":all: ./a/direct", ":a: ./a/direct", ":d: ./a/direct"}
            Got
            []string{}
    --- FAIL: TestWatch/rootdirect (5.51s)
        modd_test.go:112: Expected
            []string{":all: ./a/initial", ":a: ./a/initial", ":skipit: ./direct", ":all: ./direct", ":e: ./direct"}
            Got
            []string{}
        modd_test.go:131: Expected
            []string{":all: ./a/initial", ":a: ./a/initial", ":skipit: ./direct", ":all: ./direct", ":e: ./direct"}
            Got
            []string{}
FAIL
exit status 1
FAIL    github.com/cortesi/modd 27.696s

pavel-kolesnikov avatar May 05 '21 17:05 pavel-kolesnikov

hotbuild.ffactory.org you can try it now.

wandercn avatar Jul 23 '21 02:07 wandercn