Skip to content

Commit

Permalink
fix linting errors for standard@14
Browse files Browse the repository at this point in the history
  • Loading branch information
SerayaEryn authored and mcollina committed Aug 22, 2019
1 parent 3686925 commit 7d78d57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/stackParser.test.js
Expand Up @@ -39,7 +39,7 @@ at TAP.process (/home/leonardo/desktop/fastify-plugin/node_modules/tap/lib/test.
at TAP.sub (/home/leonardo/desktop/fastify-plugin/node_modules/tap/lib/test.js:185:10)
at TAP.test (/home/leonardo/desktop/fastify-plugin/node_modules/tap/lib/test.js:209:17)`

const anonymousStack = `Unable to parse this`
const anonymousStack = 'Unable to parse this'

t.plan(3)

Expand Down
6 changes: 3 additions & 3 deletions test/test.js
Expand Up @@ -236,7 +236,7 @@ test('should check fastify dependency graph - plugin', t => {
}))

fastify.ready(err => {
t.is(err.message, `The dependency 'plugin2-name' of plugin 'test' is not registered`)
t.is(err.message, "The dependency 'plugin2-name' of plugin 'test' is not registered")
})
})

Expand All @@ -256,7 +256,7 @@ test('should check fastify dependency graph - decorate', t => {
}))

fastify.ready(err => {
t.is(err.message, `The decorator 'plugin2' is not present in Fastify`)
t.is(err.message, "The decorator 'plugin2' is not present in Fastify")
})
})

Expand All @@ -276,6 +276,6 @@ test('should check fastify dependency graph - decorateReply', t => {
}))

fastify.ready(err => {
t.is(err.message, `The decorator 'plugin2' is not present in Reply`)
t.is(err.message, "The decorator 'plugin2' is not present in Reply")
})
})

0 comments on commit 7d78d57

Please sign in to comment.