diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-09-03 09:01:28 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-09-03 15:43:07 +0200 |
commit | b002e9d08eb909e9fa1a84b0feed1662dce0bd3f (patch) | |
tree | 227cb75678fe38ee923168be4b97abc8c20025f1 /tests/lint.scm | |
parent | 52bd0810a86396e961ca4c92f7e9e5ea0e8c547b (diff) | |
download | guix-b002e9d08eb909e9fa1a84b0feed1662dce0bd3f.tar.gz |
guix lint: Remove "guix lint: " prefix from warnings.
This allows editors to parse warnings correctly. * guix/scripts/lint.scm (emit-warning): Use 'format' instead of 'warning', to avoid the "guix lint: " prefix in messages. * tests/lint.scm (call-with-warnings): Indent.
Diffstat (limited to 'tests/lint.scm')
-rw-r--r-- | tests/lint.scm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/lint.scm b/tests/lint.scm index f6dae47ca6..56558c904f 100644 --- a/tests/lint.scm +++ b/tests/lint.scm @@ -39,10 +39,10 @@ (home-page #f) (license #f) )) (define (call-with-warnings thunk) - (let ((port (open-output-string))) - (parameterize ((guix-warning-port port)) - (thunk)) - (get-output-string port))) + (let ((port (open-output-string))) + (parameterize ((guix-warning-port port)) + (thunk)) + (get-output-string port))) (test-assert "synopsis: ends with a period" (->bool |