When inserting empty strings as keys, list() fails to list the added values even though findexact() will find them. Is the following behaviour expected?
var patrun = require('patrun');
var pat;
pat = patrun();
pat.add({
group: null,
subgroup: null,
key: 'value'
}, {a: 'a'});
console.log(pat.list().length); // 1
pat = patrun();
pat.add({
group: '',
subgroup: '',
key: 'value'
}, {a: 'a'});
console.log(pat.list().length); //0
When inserting empty strings as keys, list() fails to list the added values even though findexact() will find them. Is the following behaviour expected?