We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b14f682 commit 537daacCopy full SHA for 537daac
1 file changed
test/test_rake_rules.rb
@@ -343,6 +343,17 @@ def test_regex_rule_with_args
343
Task[OBJFILE].invoke("arg")
344
end
345
346
+ # for https://github.com/ruby/rake/pull/182
347
+ def test_single_dependent_with_nil_args
348
+ create_file(SRCFILE)
349
+ rule nil => ".cpp" do |t| p t.name end
350
+ rule(/\.o$/ => ".c") do |t|
351
+ @runs << t.name
352
+ end
353
+ Task[OBJFILE].invoke
354
+ assert_equal [OBJFILE], @runs
355
356
+
357
def test_string_rule_with_args_and_lambda_prereq
358
delete_file(OBJFILE)
359
create_file(SRCFILE)
0 commit comments