mirror of
https://github.com/NixOS/nix
synced 2025-06-30 11:43:15 +02:00
test: Fix shifted source positions after formatting
This commit is contained in:
parent
2f1b70a529
commit
ae0bb7d71c
39 changed files with 332 additions and 319 deletions
|
@ -6,24 +6,28 @@ Added <number omitted> variables.
|
|||
|
||||
nix-repl> :doc nonStrict
|
||||
Function `nonStrict`\
|
||||
… defined at /path/to/tests/functional/repl/doc-comments.nix:37:70
|
||||
… defined at /path/to/tests/functional/repl/doc-comments.nix:60:5
|
||||
|
||||
|
||||
My syntax is not strict, but I'm strict anyway.
|
||||
|
||||
nix-repl> :doc strict
|
||||
Function `strict`\
|
||||
… defined at /path/to/tests/functional/repl/doc-comments.nix:38:63
|
||||
… defined at /path/to/tests/functional/repl/doc-comments.nix:65:5
|
||||
|
||||
|
||||
I don't have to be strict, but I am anyway.
|
||||
|
||||
nix-repl> :doc strictPre
|
||||
Function `strictPre`\
|
||||
… defined at /path/to/tests/functional/repl/doc-comments.nix:40:48
|
||||
… defined at /path/to/tests/functional/repl/doc-comments.nix:71:5
|
||||
|
||||
|
||||
Here's one way to do this
|
||||
|
||||
nix-repl> :doc strictPost
|
||||
Function `strictPost`\
|
||||
… defined at /path/to/tests/functional/repl/doc-comments.nix:41:53
|
||||
… defined at /path/to/tests/functional/repl/doc-comments.nix:76:5
|
||||
|
||||
|
||||
Here's another way to do this
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue