We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18e5459 commit 5b65141Copy full SHA for 5b65141
1 file changed
Rakefile
@@ -43,12 +43,13 @@ task :test do
43
system 'jruby --dev test/create_test.rb'
44
system 'jruby --dev test/color_group_test.rb'
45
home = File.expand_path('~')
46
- config = File.exist?(format('%s/.jruby_art/config.yml', home))
+ FLF = '%<home>s/.jruby_art/config.yml'
47
+ config = File.exist?(format(FLF, home: home))
48
if config
49
ruby 'test/k9_run_test.rb'
50
else
- WNF = 'You should create %s/.jruby_art/config.yml to run sketch tests'
51
- warn format(WNF, home)
+ WNF = 'Create a config %<home>s/.jruby_art/config.yml to run sketch tests'
52
+ warn format(WNF, home: home)
53
end
54
55
0 commit comments