spec/templates/helpers/method_helper_spec.rb in yard-0.9.19 vs spec/templates/helpers/method_helper_spec.rb in yard-0.9.20
- old
+ new
@@ -97,11 +97,11 @@
Options.new.update(:highlight => false)
)
foo, bar, baz = %w(Foo Bar Baz).map do |c|
Registry.at("TestFmtConst::#{c}").value
end
- expect(format_constant(foo)).to eq ":"""
+ expect(format_constant(foo)).to eq ":''"
expect(format_constant(bar)).to eq ':BAR'
- expect(format_constant(baz)).to eq ":"B+z""
+ expect(format_constant(baz)).to eq ":'B+z'"
end
end
end