lib/option_value.rb in markdown_exec-1.7 vs lib/option_value.rb in markdown_exec-1.8
- old
+ new
@@ -63,12 +63,11 @@
assert_equal true, MarkdownExec::OptionValue.for_hash(true)
assert_equal false, MarkdownExec::OptionValue.for_hash(false)
end
def test_for_hash_with_empty_value
- assert_equal 'default',
- MarkdownExec::OptionValue.for_hash([], 'default')
+ assert_equal 'default', MarkdownExec::OptionValue.for_hash([], 'default')
end
def test_for_yaml_with_string
assert_equal "'sample'", MarkdownExec::OptionValue.for_yaml('sample')
end
@@ -81,10 +80,9 @@
assert_equal true, MarkdownExec::OptionValue.for_yaml(true)
assert_equal false, MarkdownExec::OptionValue.for_yaml(false)
end
def test_for_yaml_with_empty_value
- assert_equal 'default',
- MarkdownExec::OptionValue.for_yaml([], 'default')
+ assert_equal 'default', MarkdownExec::OptionValue.for_yaml([], 'default')
end
end
end