fix tests, use '$first_answer' to print indentation before errors (#1408)
This commit is contained in:
@@ -10,8 +10,7 @@ project_attributes(QueryVars, AttrVars) :-
|
||||
; E = error(evaluation_error((Module:project_attributes)/2), _)
|
||||
) ->
|
||||
true
|
||||
; write_term('caught: ', [quoted(false)]),
|
||||
writeq(E),
|
||||
; loader:write_error(E),
|
||||
nl
|
||||
).
|
||||
|
||||
@@ -34,8 +33,7 @@ call_attribute_goals([Module|Modules], GoalCaller, AttrVars) :-
|
||||
'$print_attribute_goals_exception'(Module, E) :-
|
||||
( E = error(evaluation_error((Module:attribute_goals)/3), attribute_goals/3)
|
||||
-> true
|
||||
; write_term('caught: ', [quoted(false)]),
|
||||
writeq(E),
|
||||
; loader:write_error(E),
|
||||
nl
|
||||
).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user