elvish/pkg/eval/evaltest
Kurtis Rader 358e52a7f5 Make testing compilation errors more deterministic
A year ago I submitted a change to replace AnyError with tests for specific
errors (see https://github.com/elves/elvish/commit/87656c99).  This does
something similar for DoesNotCompile. This ensures the test does what
is implied and makes correlating specific unit tests with compilation
errors easier.

This includes a couple of changes to compilation error messages to improve
readability (IMHO) but those are not the primary purpose of this change.

Related #1560
2022-11-20 16:33:29 +00:00
..
evaltest.go Make testing compilation errors more deterministic 2022-11-20 16:33:29 +00:00
matchers.go Make testing compilation errors more deterministic 2022-11-20 16:33:29 +00:00