From 48aa078ae05220dc93ecee203a4f48d49aa7db37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20Unneb=C3=A4ck?= Date: Sun, 26 Apr 2020 10:36:36 +0100 Subject: [PATCH] Use object shorthand for properties --- test/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/index.js b/test/index.js index c596d92..d84e55e 100644 --- a/test/index.js +++ b/test/index.js @@ -15,8 +15,8 @@ var EventEmitter = require('events') // Test abstract-leveldown compliance function runSuite (factory) { suite({ - test: test, - factory: factory, + test, + factory, // Unsupported features seek: false, @@ -67,7 +67,7 @@ runSuite(function factory () { // Test levelup interface suite({ - test: test, + test, factory: function () { // This is a levelup instance, but we're testing it as abstract-leveldown :) return subdb(levelup(encoding(memdown())), 'test')