Commit Graph

16 Commits

Author SHA1 Message Date
Greg Pfeil
0031542faf
Add a space before code block info strings
This is for consistency with the `cmark` style. Now the blocks we still
pretty-print ourselves will match the bulk of them that `cmark`
produces.
2024-07-10 13:56:07 -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
b6b2adb075 Resolve merge conflicts with trunk 2024-06-27 10:55:45 -07:00
Greg Pfeil
1a753ffb5b
Group test results by definition
Follow-up to #5140.
2024-06-26 23:40:16 -06:00
Greg Pfeil
fd197f1369
Update the transcript outputs 2024-06-26 14:45:49 -06:00
Chris Penner
7122d595cf Merge trunk 2024-06-26 12:54:15 -07:00
Chris Penner
5a68b4df78 Port test-command.md to projects 2024-06-26 12:02:55 -07:00
Chris Penner
5ca1eb3b8d Replace '.' references with scratch/main 2024-06-25 11:11:07 -07:00
Mitchell Rosen
3e224bd668 add test <arg> example to transcript 2024-05-14 16:54:53 -04:00
andrii
8b857b152c Adding a message for when ucm started reloading changes 2023-12-22 12:55:24 +01:00
Chris Penner
74fe3aa441 Add cache test to test transcript 2023-12-13 12:36:34 -08:00
Chris Penner
a8e6ac3e63 Update test-command transcripts 2023-12-13 12:35:04 -08:00
Chris Penner
fde4cb91f6 Update transcripts 2023-12-13 12:22:11 -08:00
Arya Irani
b14ec99838 transcript showing test without metadata 2023-11-25 13:43:17 -05:00
Mitchell Rosen
51bce652b8 add another case to test-command transcript 2022-07-11 20:51:40 -04:00
Mitchell Rosen
63b12175a2 add transcript for test / test.all 2022-07-11 11:23:31 -04:00