Made test succeed

This commit is contained in:
Wouter Scherphof 2013-04-02 12:10:41 +02:00
parent ada9731719
commit fc12dc87e0

View File

@ -141,9 +141,10 @@ local function select(self, s)
resultset = Set:new() resultset = Set:new()
for subject in pairs(subjects) do for subject in pairs(subjects) do
local star = subject.deepernodes local star = subject.deepernodes
if childrenonly then star = Set:new(subject.nodes) childrenonly = false end if childrenonly then star = Set:new(subject.nodes) end
resultset = resultset + star resultset = resultset + star
end end
childrenonly = false
if part == "*" then goto nextpart end if part == "*" then goto nextpart end
local excludes, filter = Set:new() local excludes, filter = Set:new()
for t, w in string.gmatch(part, for t, w in string.gmatch(part,