forked from lix-project/lix
Tweak error message
This commit is contained in:
parent
bfaa4db7bd
commit
c3181e21e7
|
@ -1265,7 +1265,7 @@ void ExprAssert::eval(EvalState & state, Env & env, Value & v)
|
||||||
if (!state.evalBool(env, cond, pos)) {
|
if (!state.evalBool(env, cond, pos)) {
|
||||||
std::ostringstream out;
|
std::ostringstream out;
|
||||||
cond->show(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);
|
body->eval(state, env, v);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue