diff --git a/test/fixtures/files/pins_with_various_options_importmap.rb b/test/fixtures/files/pins_with_various_options_importmap.rb index 3e0704f..e4a9bbf 100644 --- a/test/fixtures/files/pins_with_various_options_importmap.rb +++ b/test/fixtures/files/pins_with_various_options_importmap.rb @@ -4,4 +4,4 @@ pin "not_there", to: "nowhere.js", preload: false # 1.9.1 pin "some_file" # 0.2.1 pin "another_file",to:'another_file.js' # @0.0.16 -pin "random", random_option: "foobar" # 7.7.7 +pin "random", random_option: "foobar", hello: "world" # 7.7.7 diff --git a/test/packager_test.rb b/test/packager_test.rb index b4dc12d..1d173e0 100644 --- a/test/packager_test.rb +++ b/test/packager_test.rb @@ -55,7 +55,7 @@ def code() "200" end assert_equal %(pin "react" # @17.0.2), @packager.vendored_pin_for("react", "https://cdn/react@17.0.2") assert_equal %(pin "javascript/react", to: "javascript--react.js" # @17.0.2), @packager.vendored_pin_for("javascript/react", "https://cdn/react@17.0.2") assert_equal %(pin "md5", preload: true # @2.1.3), @packager.vendored_pin_for("md5", "https://cdn/md5@2.1.3") - assert_equal %(pin "random", random_option: "foobar" # @8.8.8), @packager.vendored_pin_for("random", "https://cdn/random@8.8.8") + assert_equal %(pin "random", random_option: "foobar", hello: "world" # @8.8.8), @packager.vendored_pin_for("random", "https://cdn/random@8.8.8") end test "pin_options_for_package" do