summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Larsson <lukas@erlang.org>2021-11-11 09:28:37 +0100
committerLukas Larsson <lukas@erlang.org>2021-11-11 09:28:37 +0100
commitdbabb65d843184e3dec353e452135b5c734c043d (patch)
tree40d6c294c074cc44d2b64a16e878b741d54003e3
parent88161c2107dd0766ce81e8d3b75c6bb2e2cb0ee8 (diff)
parentdb8a55942825ded9c6a7d6a6ed4af10709449100 (diff)
downloaderlang-dbabb65d843184e3dec353e452135b5c734c043d.tar.gz
Merge branch 'lukas/testcase-fixes' into maint
-rw-r--r--erts/emulator/test/nif_SUITE_data/nif_SUITE.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/test/nif_SUITE_data/nif_SUITE.c b/erts/emulator/test/nif_SUITE_data/nif_SUITE.c
index b7580274ed..077161232a 100644
--- a/erts/emulator/test/nif_SUITE_data/nif_SUITE.c
+++ b/erts/emulator/test/nif_SUITE_data/nif_SUITE.c
@@ -2074,7 +2074,7 @@ static ERL_NIF_TERM call_nif_nan_or_inf(ErlNifEnv* env, int argc, const ERL_NIF_
assert(enif_is_exception(env, res));
assert(enif_has_pending_exception(env, NULL));
if (strcmp(arg, "tuple") == 0) {
- return enif_make_tuple2(env, argv[0], res);
+ return enif_make_tuple2(env, argv[0], argv[0]);
} else {
return res;
}