mirror of
https://github.com/unisonweb/unison.git
synced 2024-11-09 16:24:08 +03:00
5604a48cea
a failing transcript `add-test-watch-roundtrip` and an ok-looking transcript for `update-test-watch-roundtrip`; though noting that the test gains a type signature.
404 B
404 B
.> builtins.mergeio
Given a test that depends on another definition,
foo n = n + 1
test> mynamespace.foo.test =
n = 2
if (foo n) == 2 then [ Ok "passed" ] else [ Fail "wat" ]
.> add
if we change the type of the dependency, the test should show in the scratch file as a test watch.
foo n = "hello, world!"
.> update