mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
colors file has been moved from test to tool
This commit is contained in:
parent
897b1e0562
commit
f47254d216
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ class Progress
|
||||||
# dircolors-like style
|
# dircolors-like style
|
||||||
colors = (colors = ENV['TEST_COLORS']) ? Hash[colors.scan(/(\w+)=([^:\n]*)/)] : {}
|
colors = (colors = ENV['TEST_COLORS']) ? Hash[colors.scan(/(\w+)=([^:\n]*)/)] : {}
|
||||||
begin
|
begin
|
||||||
File.read(File.join(__dir__, "../test/colors")).scan(/(\w+)=([^:\n]*)/) do |n, c|
|
File.read(File.join(__dir__, "../tool/colors")).scan(/(\w+)=([^:\n]*)/) do |n, c|
|
||||||
colors[n] ||= c
|
colors[n] ||= c
|
||||||
end
|
end
|
||||||
rescue
|
rescue
|
||||||
|
|
|
@ -140,7 +140,7 @@ End
|
||||||
# dircolors-like style
|
# dircolors-like style
|
||||||
colors = (colors = ENV['TEST_COLORS']) ? Hash[colors.scan(/(\w+)=([^:\n]*)/)] : {}
|
colors = (colors = ENV['TEST_COLORS']) ? Hash[colors.scan(/(\w+)=([^:\n]*)/)] : {}
|
||||||
begin
|
begin
|
||||||
File.read(File.join(__dir__, "../test/colors")).scan(/(\w+)=([^:\n]*)/) do |n, c|
|
File.read(File.join(__dir__, "../tool/colors")).scan(/(\w+)=([^:\n]*)/) do |n, c|
|
||||||
colors[n] ||= c
|
colors[n] ||= c
|
||||||
end
|
end
|
||||||
rescue
|
rescue
|
||||||
|
|
Loading…
Reference in a new issue