From bba597f086386e7fe0d4ce04c85fdf881749a04c Mon Sep 17 00:00:00 2001 From: Riley Davis Date: Fri, 6 Jan 2017 13:28:48 -0700 Subject: [PATCH] even more lint --- tests/services/wordlist.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/services/wordlist.js b/tests/services/wordlist.js index 5edc3a88a..e544d4f01 100644 --- a/tests/services/wordlist.js +++ b/tests/services/wordlist.js @@ -1,5 +1,5 @@ const expect = require('chai').expect; -const errors = require('../../errors'); +const Errors = require('../../errors'); const Wordlist = require('../../services/wordlist'); describe('wordlist: services', () => { @@ -67,7 +67,7 @@ describe('wordlist: services', () => { content: 'how to do really bad things?' }, 'content'); - expect(errors).to.have.property('banned', errors.ErrContainsProfanity); + expect(errors).to.have.property('banned', Errors.ErrContainsProfanity); }); it('does not match on bodies not containing bad words', () => {