From 783ffa4235330029d661752b1023db635b26f2b3 Mon Sep 17 00:00:00 2001 From: Raine Virta Date: Thu, 19 Feb 2009 16:26:34 +0200 Subject: remove whitespace --- test/test_plugins_priority.rb | 6 +++--- test/test_plugins_threshold.rb | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'test') diff --git a/test/test_plugins_priority.rb b/test/test_plugins_priority.rb index b5d3450f..ab66a62d 100644 --- a/test/test_plugins_priority.rb +++ b/test/test_plugins_priority.rb @@ -46,7 +46,7 @@ class PluginsPriorityTest < Test::Unit::TestCase @mock3 = MockModule.new(3) @mock4 = MockModule.new(4) @mock5 = MockModule.new(5) - + # This whole thing is a PITA because PluginManagerClass is a singleton unless @@manager @@manager = PluginManagerClass.instance @@ -63,7 +63,7 @@ class PluginsPriorityTest < Test::Unit::TestCase @@manager.instance_eval { @sort_call_count = nil } @@manager.mark_priorities_dirty - # We add the modules to the lists in the wrong order + # We add the modules to the lists in the wrong order # on purpose to make sure the sort is working @@manager.plugins.clear @@manager.core_modules.clear @@ -81,7 +81,7 @@ class PluginsPriorityTest < Test::Unit::TestCase dlist << @mock2 dlist << @mock5 end - + def test_default_priority plugin = TestRealBotModule.new assert_equal 1, plugin.priority diff --git a/test/test_plugins_threshold.rb b/test/test_plugins_threshold.rb index f8c64a4a..8e92a095 100644 --- a/test/test_plugins_threshold.rb +++ b/test/test_plugins_threshold.rb @@ -55,7 +55,7 @@ class PluginsPriorityTest < Test::Unit::TestCase @mock3 = MockModule.new(3) @mock4 = MockModule.new(4) @mock5 = MockModule.new(5) - + # This whole thing is a PITA because PluginManagerClass is a singleton unless @@manager @@manager = PluginManagerClass.instance @@ -73,7 +73,7 @@ class PluginsPriorityTest < Test::Unit::TestCase @@manager.instance_eval { @sort_call_count = nil } @@manager.mark_priorities_dirty - # We add the modules to the lists in the wrong order + # We add the modules to the lists in the wrong order # on purpose to make sure the sort is working @@manager.plugins.clear @@manager.core_modules.clear @@ -91,7 +91,7 @@ class PluginsPriorityTest < Test::Unit::TestCase dlist << @mock2 dlist << @mock5 end - + def test_above @@manager.delegate_event('test', :above => 3) @@ -101,7 +101,7 @@ class PluginsPriorityTest < Test::Unit::TestCase assert_equal 1, @mock4.test_called_at.size assert_equal 1, @mock5.test_called_at.size end - + def test_below @@manager.delegate_event('test', :below => 3) -- cgit v1.2.3