зеркало из https://github.com/microsoft/statsd.git
Fixed the tests
Fixed the tests that were broken when changing to delete
This commit is contained in:
Родитель
c03f33910e
Коммит
d0901b8ed0
|
@ -206,7 +206,7 @@ module.exports = {
|
|||
});
|
||||
var numstat_test = function(post){
|
||||
var mykey = 'statsd.numStats';
|
||||
return _.include(_.keys(post),mykey) && (post[mykey] == 3);
|
||||
return _.include(_.keys(post),mykey) && (post[mykey] == 2);
|
||||
};
|
||||
test.ok(_.any(hashes,numstat_test), 'statsd.numStats should be 1');
|
||||
|
||||
|
@ -239,7 +239,7 @@ module.exports = {
|
|||
});
|
||||
var numstat_test = function(post){
|
||||
var mykey = 'statsd.numStats';
|
||||
return _.include(_.keys(post),mykey) && (post[mykey] == 3);
|
||||
return _.include(_.keys(post),mykey) && (post[mykey] == 2);
|
||||
};
|
||||
test.ok(_.any(hashes,numstat_test), 'statsd.numStats should be 1');
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче