Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
fix(execute): use Regexp#inspect (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
apo5698 committed Feb 15, 2021
1 parent 96a9d78 commit 5019915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/rubrics/item/execute.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def run(filename, options)

# pattern is a regexp
unless regexp.nil? || regexp.match?(stdout)
error << I18n.t('rubrics.item.errors.execute.stdout.regexp', regexp: regexp, stdin: stdin)
error << I18n.t('rubrics.item.errors.execute.stdout.regexp', regexp: regexp.inspect, stdin: stdin)
end
end

Expand Down

0 comments on commit 5019915

Please sign in to comment.