Closed Tieske closed 9 years ago
I have to admit the code of that function is rather weird. I believe the expectations are right, now we'll see if by changing it we break some tests or not
I'll have a look at it once I get the testsuite to run locally.
Consider this code: https://github.com/Mashape/kong/blob/master/kong/tools/utils.lua#L81-L100
Now if I do this;
I get a table with a lot of nested tables;
And I would have expected errors with the same keys in only one table;
So what is wrong; the code or my expectations?