robpike / ivy

ivy, an APL-like calculator
Other
1.32k stars 103 forks source link

TestAll failure in sys.ivy #151

Closed dmitshur closed 1 year ago

dmitshur commented 1 year ago

When I run ivy's tests at its latest commit (d707516ba1bba12d98edbbcbe0186618054260fa) using go version go1.21.0 darwin/arm64, I'm seeing the following test failure:

$ go test -run=TestAll robpike.io/ivy
--- FAIL: TestAll (0.48s)
[...]
    ivy_test.go:47: reduce.ivy
    ivy_test.go:47: sys.ivy
    ivy_test.go:102: 
        testdata/sys.ivy:85:
            ('T' encode 0)[1 2 3]
        got:
            1969 12 31

        want:
            1970 1 1
    ivy_test.go:47: unary_matrix.ivy
    ivy_test.go:47: inner.ivy
[...]
FAIL
FAIL    robpike.io/ivy  0.668s
FAIL

My local timezone is -0400 EDT if that happens to be relevant.

Reporting this in case it's helpful.