YUKI Hiroshi
null+****@clear*****
Thu Oct 18 16:42:09 JST 2012
YUKI Hiroshi 2012-10-18 16:42:09 +0900 (Thu, 18 Oct 2012) New Revision: 000e429b0e3494ad1819225e5c4bfeadfda84583 https://github.com/groonga/gcs/commit/000e429b0e3494ad1819225e5c4bfeadfda84583 Log: Fix memory leak Modified files: test/api-configuration.test.js Modified: test/api-configuration.test.js (+1 -4) =================================================================== --- test/api-configuration.test.js 2012-10-18 16:41:03 +0900 (d611e44) +++ test/api-configuration.test.js 2012-10-18 16:42:09 +0900 (5877eef) @@ -618,7 +618,7 @@ suite('Configuration API', function() { suite('Action=DescribeIndexFields', function() { setup(function() { commonSetup(); - domain = new Domain('companies', context); + var domain = new Domain('companies', context); domain.createSync(); domain.getIndexField('name').setType('text').createSync(); domain.getIndexField('age').setType('uint').createSync(); @@ -640,7 +640,6 @@ suite('Configuration API', function() { } test('all', function(done) { - var domain, field; utils .get('/?DomainName=companies&' + 'Action=DescribeIndexFields&Version=2011-02-01') @@ -666,7 +665,6 @@ suite('Configuration API', function() { }); test('specified', function(done) { - var domain, field; utils .get('/?DomainName=companies&FieldNames.member.1=name&FieldNames.member.2=age&' + 'Action=DescribeIndexFields&Version=2011-02-01') @@ -691,7 +689,6 @@ suite('Configuration API', function() { }); test('specified (not exists)', function(done) { - var domain, field; utils .get('/?DomainName=companies&FieldNames.member.1=unknown&' + 'Action=DescribeIndexFields&Version=2011-02-01') -------------- next part -------------- HTML����������������������������... Download