Skip to content

Commit

Permalink
Updates argumentize test for false values
Browse files Browse the repository at this point in the history
  • Loading branch information
junket committed Oct 3, 2024
1 parent ccf32c2 commit 6d1d7a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/utils_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

class UtilsTest < ActiveSupport::TestCase
test "argumentize" do
assert_equal [ "--label", "foo=\"\\`bar\\`\"", "--label", "baz=\"qux\"", "--label", :quux ], \
Kamal::Utils.argumentize("--label", { foo: "`bar`", baz: "qux", quux: nil })
assert_equal [ "--label", "foo=\"\\`bar\\`\"", "--label", "baz=\"qux\"", "--label", :quux, "--label", "quuz=false" ], \
Kamal::Utils.argumentize("--label", { foo: "`bar`", baz: "qux", quux: nil, quuz: false })
end

test "argumentize with redacted" do
Expand Down

0 comments on commit 6d1d7a4

Please sign in to comment.