Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion deps/rabbitmq_cli/test/core/json_stream_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ defmodule JsonStreamTest do

test "format_output map with binary keys is converted to JSON object" do
assert @formatter.format_output(%{"a" => :apple, "b" => :beer}, %{}) ==
"{\"a\":\"apple\",\"b\":\"beer\"}"
"{\"a\":\"apple\",\"b\":\"beer\"}" or
@formatter.format_output(%{"a" => :apple, "b" => :beer}, %{}) ==
"{\"b\":\"beer\",\"a\":\"apple\"}"
end

test "format_output empty binary is converted to empty JSON array" do
Expand Down
Loading