From fd1a18558f1f467d05059b9dc6cf6af52dc22594 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 19 Aug 2019 14:42:06 +0100 Subject: [PATCH] [Test] Add test for the new selector --- test/lua/unit/selectors.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/lua/unit/selectors.lua b/test/lua/unit/selectors.lua index cb3e61f8f..f1a06af30 100644 --- a/test/lua/unit/selectors.lua +++ b/test/lua/unit/selectors.lua @@ -251,6 +251,10 @@ context("Selectors test", function() selector = "id('key').filter_map(test_map)", expect = {'key'} }, + ["map except"] = { + selector = "list('key', 'key1', 'key2', 'key3', 'key4').except_map(test_map)", + expect = {{'key2', 'key4'}} + }, ["map apply"] = { selector = "id('key').apply_map(test_map)", expect = {'value'} -- 2.39.5