summaryrefslogtreecommitdiff
path: root/test/optparse/test_summary.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/optparse/test_summary.rb')
-rw-r--r--test/optparse/test_summary.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/optparse/test_summary.rb b/test/optparse/test_summary.rb
index 2f389a3535..67b05672d4 100644
--- a/test/optparse/test_summary.rb
+++ b/test/optparse/test_summary.rb
@@ -48,6 +48,8 @@ class TestOptionParser::SummaryTest < TestOptionParser
def test_ver
o = OptionParser.new("foo bar")
o.program_name = "foo"
+ assert_warning('') {assert_nil(o.version)}
+ assert_warning('') {assert_nil(o.release)}
o.version = [0, 1]
assert_equal "foo 0.1", o.ver
o.release = "rel"