Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
3572-stdlib-Fix-erl_eval-test-on-debug-emulator...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 3572-stdlib-Fix-erl_eval-test-on-debug-emulator.patch of Package erlang
From 9746e243a131191f961b3292597d117334c4e0cf Mon Sep 17 00:00:00 2001 From: Lukas Larsson <lukas@erlang.org> Date: Mon, 26 Apr 2021 14:55:41 +0200 Subject: [PATCH] stdlib: Fix erl_eval test on debug emulator The order ot the keys in a map is not defined and this the testcase should sort the returned keys. The fault is only triggered in a debug emulator. --- lib/stdlib/test/erl_eval_SUITE.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stdlib/test/erl_eval_SUITE.erl b/lib/stdlib/test/erl_eval_SUITE.erl index e671b2bf5a..8434ddb35c 100644 --- a/lib/stdlib/test/erl_eval_SUITE.erl +++ b/lib/stdlib/test/erl_eval_SUITE.erl @@ -1801,7 +1801,7 @@ check(F, String, Result, BoundVars, LFH, EFH) -> case catch erl_eval:exprs(Exprs, #{}, LFH, EFH) of {value, Result, MapBs} -> MapKeys = maps:keys(MapBs), - case sort(BoundVars) == MapKeys of + case sort(BoundVars) == sort(MapKeys) of true -> ok; false -> -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor