This is an automated email from the ASF dual-hosted git repository. vatamane pushed a commit to branch update-proper in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 3c12b32d3c721d6316df8ed234db3b33252b0e0f Author: Nick Vatamaniuc <vatam...@gmail.com> AuthorDate: Tue Oct 24 00:22:11 2023 -0400 Fix missing eunit include The else part of the ifdef needs the eunit include file as well, otherwise the eunit-only tests won't run in that module. --- src/couch/test/eunit/couch_ejson_compare_tests.erl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/couch/test/eunit/couch_ejson_compare_tests.erl b/src/couch/test/eunit/couch_ejson_compare_tests.erl index ae4a5ff7c..df982c12c 100644 --- a/src/couch/test/eunit/couch_ejson_compare_tests.erl +++ b/src/couch/test/eunit/couch_ejson_compare_tests.erl @@ -163,6 +163,10 @@ zero_width_list() -> zero_width_chars() -> oneof([16#200B, 16#200C, 16#200D]). +-else. + +-include_lib("couch/include/couch_eunit.hrl"). + -endif. % Regular EUnit tests