summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-27 11:55:47 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-27 11:55:47 +0000
commitb89e894399016def7979168d16eff9026012a710 (patch)
tree6a418b787d0222f68ce4a203bb49aeff90f03149 /test
parentca6b174078fa15f33655be704d9409fdbc4f9929 (diff)
* lib/rake: Update to rake (9237e74), typo fix and remove needless
private syntax. * test/rake: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/rake/test_rake_application_options.rb2
-rw-r--r--test/rake/test_rake_linked_list.rb4
-rw-r--r--test/rake/test_rake_path_map.rb8
-rw-r--r--test/rake/test_rake_task.rb6
4 files changed, 10 insertions, 10 deletions
diff --git a/test/rake/test_rake_application_options.rb b/test/rake/test_rake_application_options.rb
index 37adfacd7d..1914240590 100644
--- a/test/rake/test_rake_application_options.rb
+++ b/test/rake/test_rake_application_options.rb
@@ -198,7 +198,7 @@ class TestRakeApplicationOptions < Rake::TestCase
def test_quiet
Rake::FileUtilsExt.verbose_flag = true
flags('--quiet', '-q') do |opts|
- assert ! Rake::FileUtilsExt.verbose_flag, "verbose flag shoud be false"
+ assert ! Rake::FileUtilsExt.verbose_flag, "verbose flag should be false"
assert ! opts.silent, "should not be silent"
end
end
diff --git a/test/rake/test_rake_linked_list.rb b/test/rake/test_rake_linked_list.rb
index 10957fba6d..32d7306268 100644
--- a/test/rake/test_rake_linked_list.rb
+++ b/test/rake/test_rake_linked_list.rb
@@ -57,13 +57,13 @@ class TestLinkedList < Rake::TestCase
refute_equal short, list
end
- def test_converstion_to_string
+ def test_conversion_to_string
list = LinkedList.make(:one, :two, :three)
assert_equal "LL(one, two, three)", list.to_s
assert_equal "LL()", LinkedList.make().to_s
end
- def test_converstion_with_inspect
+ def test_conversion_with_inspect
list = LinkedList.make(:one, :two, :three)
assert_equal "LL(:one, :two, :three)", list.inspect
assert_equal "LL()", LinkedList.make().inspect
diff --git a/test/rake/test_rake_path_map.rb b/test/rake/test_rake_path_map.rb
index 038ba1f9a7..98e8df0620 100644
--- a/test/rake/test_rake_path_map.rb
+++ b/test/rake/test_rake_path_map.rb
@@ -152,11 +152,11 @@ class TestRakePathMap < Rake::TestCase
"Your file extension is '.rb'",
"dir/abc.rb".pathmap("Your file extension is '%x'"))
assert_equal(
- "bin/org/onstepback/proj/A.class",
- "src/org/onstepback/proj/A.java".pathmap("%{src,bin}d/%n.class"))
+ "bin/org/onestepback/proj/A.class",
+ "src/org/onestepback/proj/A.java".pathmap("%{src,bin}d/%n.class"))
assert_equal(
- "src_work/bin/org/onstepback/proj/A.class",
- "src_work/src/org/onstepback/proj/A.java".
+ "src_work/bin/org/onestepback/proj/A.class",
+ "src_work/src/org/onestepback/proj/A.java".
pathmap('%{\bsrc\b,bin}X.class'))
assert_equal(
".depends.bak",
diff --git a/test/rake/test_rake_task.rb b/test/rake/test_rake_task.rb
index d7f14efcdb..0416dfa8dd 100644
--- a/test/rake/test_rake_task.rb
+++ b/test/rake/test_rake_task.rb
@@ -195,14 +195,14 @@ class TestRakeTask < Rake::TestCase
assert_equal ["b", "c"], Task[:a].prerequisites
end
- def test_prerequiste_tasks_returns_tasks_not_strings
+ def test_prerequisite_tasks_returns_tasks_not_strings
a = task :a => ["b", "c"]
b = task :b
c = task :c
assert_equal [b, c], a.prerequisite_tasks
end
- def test_prerequiste_tasks_fails_if_prerequisites_are_undefined
+ def test_prerequisite_tasks_fails_if_prerequisites_are_undefined
a = task :a => ["b", "c"]
task :b
assert_raises(RuntimeError) do
@@ -210,7 +210,7 @@ class TestRakeTask < Rake::TestCase
end
end
- def test_prerequiste_tasks_honors_namespaces
+ def test_prerequisite_tasks_honors_namespaces
a = b = nil
namespace "X" do
a = task :a => ["b", "c"]