Selaa lähdekoodia

Update manifest_test for Ruby 3.4.1

Simon Legner 11 kuukautta sitten
vanhempi
commit
ce09955658
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      test/lib/docs/core/manifest_test.rb

+ 1 - 1
test/lib/docs/core/manifest_test.rb

@@ -64,7 +64,7 @@ class ManifestTest < Minitest::Spec
       it "includes the doc's meta representation" do
         json = manifest.as_json
         assert_equal 1, json.length
-        assert_equal "{\"name\"=>\"Test\", \"db_size\"=>776533, :attribution=>\"foo\", :alias=>nil}", json[0].to_s
+        assert_equal "{\"name\" => \"Test\", \"db_size\" => 776533, attribution: \"foo\", alias: nil}", json[0].to_s
       end
     end