diff --git a/lambdaV.py b/lambdaV.py index 2b2f572..0d7c107 100644 --- a/lambdaV.py +++ b/lambdaV.py @@ -477,8 +477,10 @@ def evaluate_parser_result(parsed_code): # runtime error # TODO: pass back information about where the error occurred return outcome - #TODO: check if goal reached - return "Success!" + if condition_goal_reached(False): + return "Success!" + else: + return "Goal not reached!" def debug_setup():