lib/option_value.rb in markdown_exec-1.6 vs lib/option_value.rb in markdown_exec-1.7
- old
+ new
@@ -63,11 +63,12 @@
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
@@ -80,9 +81,10 @@
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