2024-07-10 17:46:18 +03:00
|
|
|
``` unison
|
2024-06-27 20:55:45 +03:00
|
|
|
test> fix5080.tests.success = [Ok "success"]
|
|
|
|
test> fix5080.tests.failure = [Fail "fail"]
|
2024-06-26 23:31:49 +03:00
|
|
|
```
|
|
|
|
|
2024-07-10 19:17:15 +03:00
|
|
|
``` ucm
|
2024-06-26 23:31:49 +03:00
|
|
|
|
|
|
|
Loading changes detected in scratch.u.
|
|
|
|
|
|
|
|
I found and typechecked these definitions in scratch.u. If you
|
|
|
|
do an `add` or `update`, here's how your codebase would
|
|
|
|
change:
|
2024-06-27 01:05:48 +03:00
|
|
|
|
2024-06-26 23:31:49 +03:00
|
|
|
⍟ These new definitions are ok to `add`:
|
2024-06-27 01:05:48 +03:00
|
|
|
|
2024-06-26 23:31:49 +03:00
|
|
|
fix5080.tests.failure : [Result]
|
|
|
|
fix5080.tests.success : [Result]
|
2024-06-27 01:05:48 +03:00
|
|
|
|
2024-06-26 23:31:49 +03:00
|
|
|
Now evaluating any watch expressions (lines starting with
|
|
|
|
`>`)... Ctrl+C cancels.
|
|
|
|
|
2024-06-27 20:55:45 +03:00
|
|
|
1 | test> fix5080.tests.success = [Ok "success"]
|
2024-06-27 01:05:48 +03:00
|
|
|
|
2024-06-27 20:55:45 +03:00
|
|
|
✅ Passed success
|
2024-06-27 01:05:48 +03:00
|
|
|
|
2024-06-27 20:55:45 +03:00
|
|
|
2 | test> fix5080.tests.failure = [Fail "fail"]
|
2024-06-27 01:05:48 +03:00
|
|
|
|
2024-06-27 20:55:45 +03:00
|
|
|
🚫 FAILED fail
|
2024-06-26 23:31:49 +03:00
|
|
|
|
|
|
|
```
|
2024-07-10 19:17:15 +03:00
|
|
|
``` ucm
|
2024-06-27 20:55:45 +03:00
|
|
|
scratch/main> add
|
2024-06-26 23:31:49 +03:00
|
|
|
|
|
|
|
⍟ I've added these definitions:
|
2024-06-27 01:05:48 +03:00
|
|
|
|
2024-06-26 23:31:49 +03:00
|
|
|
fix5080.tests.failure : [Result]
|
|
|
|
fix5080.tests.success : [Result]
|
|
|
|
|
2024-06-27 20:55:45 +03:00
|
|
|
scratch/main> test
|
2024-06-26 23:31:49 +03:00
|
|
|
|
|
|
|
Cached test results (`help testcache` to learn more)
|
2024-06-27 01:05:48 +03:00
|
|
|
|
2024-06-27 20:55:45 +03:00
|
|
|
1. fix5080.tests.success ◉ success
|
2024-06-27 01:05:48 +03:00
|
|
|
|
2024-06-27 20:55:45 +03:00
|
|
|
2. fix5080.tests.failure ✗ fail
|
2024-06-27 01:05:48 +03:00
|
|
|
|
2024-06-26 23:31:49 +03:00
|
|
|
🚫 1 test(s) failing, ✅ 1 test(s) passing
|
2024-06-27 01:05:48 +03:00
|
|
|
|
2024-06-26 23:01:36 +03:00
|
|
|
Tip: Use view 1 to view the source of a test.
|
2024-06-26 23:31:49 +03:00
|
|
|
|
|
|
|
```
|
2024-07-10 19:17:15 +03:00
|
|
|
``` ucm
|
2024-06-27 20:55:45 +03:00
|
|
|
scratch/main> delete.term 2
|
2024-06-26 23:31:49 +03:00
|
|
|
|
2024-06-26 23:01:36 +03:00
|
|
|
Done.
|
2024-06-26 23:31:49 +03:00
|
|
|
|
2024-06-27 20:55:45 +03:00
|
|
|
scratch/main> test
|
2024-06-26 23:31:49 +03:00
|
|
|
|
2024-06-26 23:01:36 +03:00
|
|
|
Cached test results (`help testcache` to learn more)
|
2024-06-27 01:05:48 +03:00
|
|
|
|
2024-06-27 20:55:45 +03:00
|
|
|
1. fix5080.tests.success ◉ success
|
2024-06-27 01:05:48 +03:00
|
|
|
|
2024-06-26 23:01:36 +03:00
|
|
|
✅ 1 test(s) passing
|
2024-06-27 01:05:48 +03:00
|
|
|
|
2024-06-26 23:01:36 +03:00
|
|
|
Tip: Use view 1 to view the source of a test.
|
2024-06-26 23:31:49 +03:00
|
|
|
|
2024-06-26 23:01:36 +03:00
|
|
|
```
|