commit 12ef6d2: [Minor] One more test sorting

Vsevolod Stakhov vsevolod at highsecure.ru
Mon Jul 6 12:14:07 UTC 2020


Author: Vsevolod Stakhov
Date: 2020-07-06 13:06:50 +0100
URL: https://github.com/rspamd/rspamd/commit/12ef6d2fe30b2e460b145046c92b16dac3b8973d (HEAD -> master)

[Minor] One more test sorting

---
 test/lua/unit/selectors.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/lua/unit/selectors.lua b/test/lua/unit/selectors.lua
index ba05d9562..498c1e852 100644
--- a/test/lua/unit/selectors.lua
+++ b/test/lua/unit/selectors.lua
@@ -360,7 +360,7 @@ context("Selectors test", function()
     test("case " .. case_name, function()
       local elts = check_selector(case.selector)
       assert_not_nil(elts)
-      assert_rspamd_table_eq({actual = elts, expect = case.expect})
+      assert_rspamd_table_eq_sorted({actual = elts, expect = case.expect})
     end)
   end
 end)


More information about the Commits mailing list