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

Commit

Permalink
fix rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
4e554c4c committed Aug 14, 2024
1 parent c6299aa commit cdf3fb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/mathematical/fixtures_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def strip_id(blob)
Dir["#{fixtures_dir}/before/*.text"].each do |before|
name = before.split("/").last

define_method "test_#{name}" do
define_method :"test_#{name}" do
source = File.read(before)

if ENV["MATHEMATICAL_GENERATE_SAMPLE"]
Expand Down
2 changes: 1 addition & 1 deletion test/mathematical/mathjax_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class MathJaxTest < Minitest::Test

SKIPPED = []
Dir["#{MATHJAX_TEX_DIR}/**/*.txt"].each do |tex|
define_method "test_#{tex}" do
define_method :"test_#{tex}" do
tex_contents = File.read(tex)
data = nil

Expand Down

0 comments on commit cdf3fb9

Please sign in to comment.