]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] One more test sorting
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 6 Jul 2020 12:06:50 +0000 (13:06 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 6 Jul 2020 12:06:50 +0000 (13:06 +0100)
test/lua/unit/selectors.lua

index ba05d9562713524b46b2d6b72fa9d0dd6e3666d1..498c1e852ac323d2448b777574a50c9eac5d6352 100644 (file)
@@ -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)