1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-08 06:53:54 +02:00

tests/functional/repl: Normalize final prompt

This commit is contained in:
Robert Hensing 2024-07-24 01:01:00 +02:00
parent ca2cc26e12
commit c4ae9bb45b
12 changed files with 13 additions and 24 deletions

View file

@ -26,5 +26,3 @@ nix-repl> "This won't produce docs; no support for arbitrary values"
nix-repl> :doc x 2
error: value does not have documentation
nix-repl>

View file

@ -12,5 +12,3 @@ Function `documentedFormals`\
… defined at /path/to/tests/functional/repl/doc-comments.nix:57:5
Finds x
nix-repl>

View file

@ -5,5 +5,3 @@ nix-repl> :doc import ./doc-comment-function.nix
Function defined at /path/to/tests/functional/repl/doc-comment-function.nix:2:1
A doc comment for a file that only contains a function
nix-repl>

View file

@ -9,5 +9,3 @@ Function `compact`\
… defined at /path/to/tests/functional/repl/doc-comments.nix:18:20
boom
nix-repl>

View file

@ -108,5 +108,3 @@ error:
1| lib.attr.undocumental
| ^
Did you mean undocumented?
nix-repl>

View file

@ -9,5 +9,3 @@ Function `floatedIn`\
… defined at /path/to/tests/functional/repl/doc-comments.nix:16:5
This also works.
nix-repl>

View file

@ -27,5 +27,3 @@ Function `strictPost`\
… defined at /path/to/tests/functional/repl/doc-comments.nix:41:53
Here's another way to do this
nix-repl>

View file

@ -9,5 +9,3 @@ Function `measurement`\
… defined at /path/to/tests/functional/repl/doc-comments.nix:13:17
👈 precisely this wide 👉
nix-repl>

View file

@ -15,5 +15,3 @@ Perform *arithmetic* multiplication. It's kind of like repeated **addition**, ve
multiply 2 3
=> 6
```
nix-repl>

View file

@ -9,5 +9,3 @@ Function `unambiguous`\
… defined at /path/to/tests/functional/repl/doc-comments.nix:24:5
Very close
nix-repl>

View file

@ -35,5 +35,3 @@ nix-repl> twoDeepList
[
[ ... ]
]
nix-repl>