unison/unison-src/transcripts/update-test-to-non-test.md
2024-06-25 11:11:07 -07:00

26 lines
381 B
Markdown

```ucm
scratch/main> builtins.merge
```
```unison
test> foo = []
```
After adding the test `foo`, we expect `view` to render it like a test. (Bug: It doesn't.)
```ucm
scratch/main> add
scratch/main> view foo
```
```unison
foo = 1
```
After updating `foo` to not be a test, we expect `view` to not render it like a test.
```ucm
scratch/main> update
scratch/main> view foo
```