diff --git a/spec/error_boundaries_spec.lua b/spec/error_boundaries_spec.lua index e113cee..65825db 100644 --- a/spec/error_boundaries_spec.lua +++ b/spec/error_boundaries_spec.lua @@ -175,9 +175,9 @@ describe('Error boundary handling', function() cp.handle_command({ fargs = { 'prev' } }) end) - -- assert.has_no_errors(function() - -- cp.handle_command({ fargs = { 'run' } }) - -- end) + assert.has_no_errors(function() + cp.handle_command({ fargs = { 'run' } }) + end) local has_validation_error = false local has_appropriate_errors = 0 @@ -210,7 +210,8 @@ describe('Error boundary handling', function() local missing_contest_errors = 0 for _, log_entry in ipairs(logged_messages) do if - log_entry.msg and (log_entry.msg:match('no contest') or log_entry.msg:match('No contest')) + log_entry.msg + and (log_entry.msg:match('No problem found') or log_entry.msg:match('No contest')) then missing_contest_errors = missing_contest_errors + 1 end