test/unit/code_object/provider/yard/docstring_test.rb in inch-0.4.7 vs test/unit/code_object/provider/yard/docstring_test.rb in inch-0.4.8
- old
+ new
@@ -137,10 +137,11 @@
DOC
docstring = described_class.new(text)
assert docstring.describes_return?
end
- it "should understand 'Returns ...' with a visibility modifier in front of it" do
+ it "should understand 'Returns ...' with a visibility modifier in front of" \
+ " it" do
text = "Public: Returns the Integer color."
docstring = described_class.new(text)
assert docstring.mentions_return?
assert docstring.describes_return?
end