Re: [PATCH v2] Add tests for warning locations.

2022-10-12 Thread Andrew Whatson
Ludovic Courtès wrote: > > One minor nitpick and then we’re ready to go: > > > + (with-test-prefix "location" > > + (define (test-file filename) > > + (string-append > > +(dirname (current-filename)) "/" filename)) > > + > > + (pass-if "unused variable" > > + (let ((w

Re: [PATCH v2] Add tests for warning locations.

2022-10-12 Thread Ludovic Courtès
Hi, Andrew Whatson skribis: > These would have caught . > > * test-suite/Makefile.am (SCM_TESTS): Add sample code files. > * test-suite/tests/tree-il.test ("warnings"): New tests. > * test-suite/tests/tree-il/unbound-spaces.scm: > * test-suite/tests/tree-il/unbound-ta

[PATCH v2] Add tests for warning locations.

2022-09-24 Thread Andrew Whatson
These would have caught . * test-suite/Makefile.am (SCM_TESTS): Add sample code files. * test-suite/tests/tree-il.test ("warnings"): New tests. * test-suite/tests/tree-il/unbound-spaces.scm: * test-suite/tests/tree-il/unbound-tabs.scm: * test-suite/tests/tree-il/unused-