Skip to content

Commit

Permalink
Fix an unused variable warning in the test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed Jan 14, 2022
1 parent 91b81c9 commit bd5cff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/compile_cache_test.rb
Expand Up @@ -37,7 +37,7 @@ def test_no_write_permission_to_cache
# read-only files.
pass
else
path = Help.set_file("a.rb", "a = 3", 100)
path = Help.set_file("a.rb", "a = a = 3", 100)
folder = File.dirname(Help.cache_path(@tmp_dir, path))
FileUtils.mkdir_p(folder)
FileUtils.chmod(0o400, folder)
Expand Down

0 comments on commit bd5cff3

Please sign in to comment.