diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-01-13 21:52:03 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-01-13 21:52:03 +0100 |
commit | c3181e21e75d9e31254cd97c8e56858be7072d5f (patch) | |
tree | d7e004b55825074e3d5917369e294d351f204e56 /src | |
parent | bfaa4db7bdddcab995a75a6ee5377bdc858167d0 (diff) |
Tweak error message
Diffstat (limited to 'src')
-rw-r--r-- | src/libexpr/eval.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc index 3a3810f24..dac32b6f5 100644 --- a/src/libexpr/eval.cc +++ b/src/libexpr/eval.cc @@ -1265,7 +1265,7 @@ void ExprAssert::eval(EvalState & state, Env & env, Value & v) if (!state.evalBool(env, cond, pos)) { std::ostringstream out; cond->show(out); - throwAssertionError("assertion %1% failed at %2%", out.str(), pos); + throwAssertionError("assertion '%1%' failed at %2%", out.str(), pos); } body->eval(state, env, v); } |