Skip to content

Commit

Permalink
Removed stale skips
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Aug 31, 2019
1 parent 4d745f8 commit a24f841
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions test/test_rake_application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@ def test_display_exception_details_bad_encoding
end

def test_display_exception_details_cause
skip "Exception#cause not implemented" unless
Exception.method_defined? :cause

begin
raise "cause a"
rescue
Expand Down
2 changes: 0 additions & 2 deletions test/test_rake_backtrace.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ def test_bin_rake_suppressed

def test_system_dir_suppressed
path = RbConfig::CONFIG["rubylibprefix"]
skip if path.nil?
path = File.expand_path path

paths = [path + ":12"]
Expand All @@ -25,7 +24,6 @@ def test_system_dir_suppressed

def test_near_system_dir_isnt_suppressed
path = RbConfig::CONFIG["rubylibprefix"]
skip if path.nil?
path = File.expand_path path

paths = [" " + path + ":12"]
Expand Down
1 change: 0 additions & 1 deletion test/test_rake_file_list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ def test_exclude_with_string_return_on_create
end

def test_exclude_curly_bracket_pattern
skip "brace pattern matches not supported" unless defined? File::FNM_EXTGLOB
fl = FileList["*"].exclude("{abc,xyz}.c")
assert_equal %w[abc.h abc.x cfiles existing x.c xyzzy.txt], fl
end
Expand Down
3 changes: 0 additions & 3 deletions test/test_rake_task_with_arguments.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@ def test_actions_of_various_arity_are_ok_with_args
end

def test_actions_adore_keywords
# A brutish trick to avoid parsing. Remove it once support for 1.9 and 2.0 is dropped
# https://ci.appveyor.com/project/ruby/rake/build/1.0.301
skip "Keywords aren't a feature in this version" if RUBY_VERSION =~ /^1|^2\.0/
# https://github.com/ruby/rake/pull/174#issuecomment-263460761
skip if jruby9?
eval <<-RUBY, binding, __FILE__, __LINE__+1
Expand Down

0 comments on commit a24f841

Please sign in to comment.