diff --git a/lib/adapters/memory.js b/lib/adapters/memory.js index 9d8e0ac2..dd05d76b 100644 --- a/lib/adapters/memory.js +++ b/lib/adapters/memory.js @@ -129,7 +129,7 @@ function applyFilter(filter) { return value.match(example); } // not strict equality - return example == value; + return (example !== null ? example.toString() : example) == (value !== null ? value.toString() : value); } }