Skip to content

Commit

Permalink
transcript showing test without metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Arya Irani committed Nov 25, 2023
1 parent 8373e2b commit b14ec99
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion unison-src/transcripts/test-command.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ test2 = [Ok "test2"]

```ucm:hide
.lib> add
.lib> link .builtin.metadata.isTest test2
```

```ucm
Expand All @@ -45,6 +44,7 @@ test2 = [Ok "test2"]
```unison
test3 : [Result]
test3 = [Ok "test3"]
test4 = [Ok "test4"]
```

```ucm:hide
Expand Down
9 changes: 8 additions & 1 deletion unison-src/transcripts/test-command.output.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ test2 = [Ok "test2"]
```unison
test3 : [Result]
test3 = [Ok "test3"]
test4 = [Ok "test4"]
```

```ucm
Expand All @@ -108,6 +109,7 @@ test3 = [Ok "test3"]
⍟ These new definitions are ok to `add`:
test3 : [Result]
test4 : [Result]
```
```ucm
Expand All @@ -126,11 +128,16 @@ test3 = [Ok "test3"]
New test results:
◉ hello.lib.test3 test3
◉ hello.lib.test4 test4
1 test(s) passing
2 test(s) passing
Tip: Use view hello.lib.test3 to view the source of a test.
Expand Down

0 comments on commit b14ec99

Please sign in to comment.