summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Branca <chewbranca@apache.org>2023-05-04 13:18:28 -0700
committerRussell Branca <chewbranca@apache.org>2023-05-04 13:35:55 -0700
commita6438622c032e34f38dd0a3ad7ee7714ea11a024 (patch)
tree66782cc3fadd4d98792b79901f474addf2f0c4eb
parent45b2824200cc85e99fdcff5c6f86a4f1419e08dc (diff)
downloadcouchdb-a6438622c032e34f38dd0a3ad7ee7714ea11a024.tar.gz
Add note about key ordering
-rw-r--r--src/couch_log/test/eunit/couch_log_formatter_test.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/couch_log/test/eunit/couch_log_formatter_test.erl b/src/couch_log/test/eunit/couch_log_formatter_test.erl
index 6fd25793c..29d5497f6 100644
--- a/src/couch_log/test/eunit/couch_log_formatter_test.erl
+++ b/src/couch_log/test/eunit/couch_log_formatter_test.erl
@@ -38,6 +38,8 @@ format_report_test() ->
bar => "barStr",
baz => baz
}),
+ % NOTE: this currently hardcodes the ordering of the keys, however, map
+ % key order is not guaranteed and this may break.
Formatted = "[foo=123 baz=\"baz\" bar=\"barStr\"]",
?assertEqual(Formatted, lists:flatten(Entry#log_entry.msg)).