Skip to content

Commit 9e35750

Browse files
committed
Update assert to show multiple options are carried over
1 parent c110d4a commit 9e35750

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/fixtures/files/pins_with_various_options_importmap.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
pin "not_there", to: "nowhere.js", preload: false # 1.9.1
55
pin "some_file" # 0.2.1
66
pin "another_file",to:'another_file.js' # @0.0.16
7-
pin "random", random_option: "foobar" # 7.7.7
7+
pin "random", random_option: "foobar", hello: "world" # 7.7.7

test/packager_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def code() "200" end
5555
assert_equal %(pin "react" # @17.0.2), @packager.vendored_pin_for("react", "https://cdn/[email protected]")
5656
assert_equal %(pin "javascript/react", to: "javascript--react.js" # @17.0.2), @packager.vendored_pin_for("javascript/react", "https://cdn/[email protected]")
5757
assert_equal %(pin "md5", preload: true # @2.1.3), @packager.vendored_pin_for("md5", "https://cdn/[email protected]")
58-
assert_equal %(pin "random", random_option: "foobar" # @8.8.8), @packager.vendored_pin_for("random", "https://cdn/[email protected]")
58+
assert_equal %(pin "random", random_option: "foobar", hello: "world" # @8.8.8), @packager.vendored_pin_for("random", "https://cdn/[email protected]")
5959
end
6060

6161
test "pin_options_for_package" do

0 commit comments

Comments
 (0)