aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/tc_mauve_configuration.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/tc_mauve_configuration.rb b/test/tc_mauve_configuration.rb
index bbc1901..36a929e 100644
--- a/test/tc_mauve_configuration.rb
+++ b/test/tc_mauve_configuration.rb
@@ -14,7 +14,7 @@ class TcMauveConfiguration < Mauve::UnitTest
teardown_logger
end
- def test_do_parse_range
+ def test_parse_range
[
[[1.0...2.0], 1],
[[1.0...3.0], 1..2],
@@ -28,8 +28,7 @@ class TcMauveConfiguration < Mauve::UnitTest
[[6.0...7.0, 0.0...1.0], 6..0, 0...7],
[["x".."z", "a".."c"], "x".."c", "a".."z"]
].each do |output, *input|
- c = Configuration.new
- assert_equal(output, c.__send__("do_parse_range",*input))
+ assert_equal(output, Configuration.parse_range(*input))
end
end