message: add missing tearDown on compact-range-test
diff: @@ -12,10 +12,10 @@ test('setUp db', function (t) {
  })
  test('test compactRange() frees disk space after key deletion', function (t) {
  - var key1 = '000000';
  - var key2 = '000001';
  - var val1 = Buffer(64).fill(1);
  - var val2 = Buffer(64).fill(1);
  + var key1 = '000000'
  + var key2 = '000001'
  + var val1 = Buffer(64).fill(1)
  + var val2 = Buffer(64).fill(1)
  db.put(key1, val1, function() {
  db.put(key2, val2, function() {
  db.compactRange(key1, key2, function() {
  @@ -25,13 +25,17 @@ test('test compactRange() frees disk space after key deletion', function (t) {
  db.compactRange(key1, key2, function() {
  db.approximateSize('0', 'z', function(err, sizeAfterCompact) {
  t.ok(sizeAfterCompact < sizeAfterPuts);
  - t.end();
  - });
  - });
  - });
  - });
  - });
  - });
  - });
  - });
  -});
  + t.end()
  + })
  + })
  + })
  + })
  + })
  + })
  + })
  + })
  +})
  +
  +test('tearDown', function (t) {
  + db.close(testCommon.tearDown.bind(null, 2))
  +})
  