mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-19 03:29:17 +03:00
lib/tests: Clarify assignment
The extra equal sign was confusing, and doesn't seem to be relevant.
This commit is contained in:
parent
5e85cd86af
commit
41fd1d8626
@ -44,7 +44,7 @@ checkConfigError() {
|
||||
local errorContains=$1
|
||||
local err=""
|
||||
shift;
|
||||
if err==$(evalConfig "$@" 2>&1 >/dev/null); then
|
||||
if err="$(evalConfig "$@" 2>&1 >/dev/null)"; then
|
||||
echo 2>&1 "error: Expected error code, got exit code 0, while evaluating"
|
||||
reportFailure "$@"
|
||||
return 1
|
||||
|
Loading…
Reference in New Issue
Block a user