mirror of
https://github.com/unisonweb/unison.git
synced 2024-08-15 13:30:27 +03:00
435 B
435 B
scratch/main> builtins.merge
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" ]
scratch/main> 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!"
scratch/main> update