mirror of https://github.com/rails/rails
Fix case of `YAML`
This commit is contained in:
parent
3b7f55c179
commit
2d55c05c37
|
@ -17,7 +17,7 @@ module ActiveSupport
|
|||
#
|
||||
# Also, maps the +omap+ feature for YAML files
|
||||
# (See https://yaml.org/type/omap.html) to support ordered items
|
||||
# when loading from yaml.
|
||||
# when loading from YAML.
|
||||
#
|
||||
# <tt>ActiveSupport::OrderedHash</tt> is namespaced to prevent conflicts
|
||||
# with other implementations.
|
||||
|
|
|
@ -1009,7 +1009,7 @@ class OutputSafetyTest < ActiveSupport::TestCase
|
|||
assert_predicate string, :html_safe?
|
||||
end
|
||||
|
||||
test "emits normal string yaml" do
|
||||
test "emits normal string YAML" do
|
||||
assert_equal "foo".to_yaml, "foo".html_safe.to_yaml(foo: 1)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue