Permalink
Browse files

Fix in-memory adapter tests

  • Loading branch information...
1602 committed Sep 9, 2012
1 parent a2618dd commit 562856f1bda3545049861bd724537076583b3640
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/adapters/memory.js
View
@@ -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);
}
}

0 comments on commit 562856f

Please sign in to comment.