yeslogic / fathom

🚧 (Alpha stage software) A declarative data definition language for formally specifying binary data formats. 🚧

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Snapshot verification fails on Windows

wezm opened this issue · comments

---- tests\fail\elaboration\unification\mismatch\arrow-both.fathom ----

    snapshot mismatch:
        ---- path ----
        tests\fail\elaboration\unification\mismatch\arrow-both.snap
        ---- stderr diff ----
         2| -   ┌─ tests/fail/elaboration/unification/mismatch/arrow-both.fathom:3:34
         2| +   ┌─ tests\fail\elaboration\unification\mismatch\arrow-both.fathom:3:34
         8| -   ┌─ tests/fail/elaboration/unification/mismatch/arrow-both.fathom:3:39
         8| +   ┌─ tests\fail\elaboration\unification\mismatch\arrow-both.fathom:3:39


    failures:
        snapshot mismatch

Paths in errors use the native format, thus Windows ones do not match.

Hmm, I wonder how other compilers handle this in their tests. 🤔

Oh cool! I was looking in compiletest but missed this!