Commit Graph

20 Commits

Author SHA1 Message Date
Greg Pfeil
032e3609a0
Add some transcripts that should error, but don’t 2024-07-24 12:41:55 -06:00
Greg Pfeil
1dc181b99a
Update the transcripts with cmark
`cmark`’s pretty-printer matches our output pretty well, with a few differences:
- it puts a space between the fence and the info string for in code blocks;
- it prefers `-` over `*` for bulleted lists (as do I) and it indents them;
- it `\`-escapes certain chars very conservatively;
- it prefers indented/unfenced code blocks if there is no info string; and
- it prefers `*` over `_` (unlike any sane person).

This also shows how the change fixes a number of issues:
- fix2158-1.output.md also illustrates how this change fixes #1809;
- alias-many.output.md and input-parse-errors.output.md show how fenced
  code blocks without an info string would use the beginning of the
  content as the info string;
- transcripts-round-trip/main.output.md shows how output blocks for
  generated `unison` stanzas (which could contain nested fenced blocks)
  might not have long-enough fences; and
- error-messages.output.md and generic-parse-errors.output.md show how
  Unison errors were reported on the wrong line number (and thus the
  printed error lines were also incorrect).
2024-07-10 13:37:51 -06:00
Chris Penner
5ca1eb3b8d Replace '.' references with scratch/main 2024-06-25 11:11:07 -07:00
Rúnar
d3b6dd92b1 Really refresh the transcripts 2023-07-31 13:02:51 -04:00
Rúnar
154e604454 Update transcripts 2023-07-31 12:35:08 -04:00
Rúnar
3ebf9f137e Really add the new transcript 2023-07-30 21:30:08 -04:00
Rúnar
33a42cf008 Added another transcript 2023-07-30 21:23:51 -04:00
Rúnar
0db6f393fb Added another transcript 2023-07-30 21:22:54 -04:00
Rúnar
a317bdec2e Add typed case to transcript 2023-07-30 21:10:16 -04:00
Rúnar
4e6ecf44cc Added transcript 2023-07-30 21:03:15 -04:00
Arya Irani
0daed483b7
Update unison-src/transcripts/errors/unison-hide.output.md 2022-05-27 00:09:56 -04:00
Arya Irani
3dec0b27b0
Update unison-src/transcripts/errors/unison-hide-all.output.md 2022-05-27 00:09:41 -04:00
Alberto Flores
d91db0ca4f Update ability syntax in the error message.
Co-authored-by: Karthik Ravikanti <karthik.ravikanti@gmail.com>
2022-05-23 23:00:27 -05:00
Alberto Flores
77a8f021c5 Remove old references to namespace blocks
Co-authored-by: Karthik Ravikanti <karthik.ravikanti@gmail.com>
2022-05-23 22:57:38 -05:00
Cody Allen
132d82d3cd
Fix type declaration example
These days you need to specify `structural` or `unique` for type
declarations.
2022-02-25 14:55:32 -08:00
Paul Chiusano
13e1073251 output tweaks and regenerate transcripts 2020-10-13 09:44:49 -04:00
pete-ts
b537682842 updates unexpected error ucm blocks, to select a command that is not a failure 2020-03-24 18:17:48 +00:00
pete-ts
414f4c0128 updates the error not found message 2020-03-12 21:24:58 +00:00
pete-ts
4d2d044892 adds the outputs of the failing transcripts 2020-03-12 10:13:47 +00:00
pete-ts
94cf0bd591 adds ucm and unison transcripts that fail with unexpected error or unexpected success 2020-03-12 10:10:20 +00:00