mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 07:47:49 +00:00
Use 'xo' instead of 'hi' for string tests.
This commit is contained in:
@@ -8328,7 +8328,7 @@
|
||||
});
|
||||
|
||||
test('should work with strings', 4, function() {
|
||||
var pairs = [['hi', Object('h')], [Object('hi'), 'h']];
|
||||
var pairs = [['xo', Object('x')], [Object('xo'), 'x']];
|
||||
|
||||
_.each(pairs, function(pair) {
|
||||
strictEqual(_.isMatch(pair[0], pair[1]), true);
|
||||
@@ -10042,7 +10042,7 @@
|
||||
});
|
||||
|
||||
test('should work with strings', 4, function() {
|
||||
var pairs = [['hi', Object('h')], [Object('hi'), 'h']];
|
||||
var pairs = [['xo', Object('x')], [Object('xo'), 'x']];
|
||||
|
||||
_.each(pairs, function(pair) {
|
||||
var matches = _.matches(pair[1]);
|
||||
@@ -10336,7 +10336,7 @@
|
||||
});
|
||||
|
||||
test('should work with strings', 4, function() {
|
||||
var pairs = [['hi', Object('h')], [Object('hi'), 'h']];
|
||||
var pairs = [['xo', Object('x')], [Object('xo'), 'x']];
|
||||
|
||||
_.each(pairs, function(pair) {
|
||||
var matches = _.matchesProperty('0', pair[1]);
|
||||
|
||||
Reference in New Issue
Block a user