Skip to content

Commit e1a7ab9

Browse files
committed
add test when does not exist
1 parent b379253 commit e1a7ab9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/support_test.js

+5
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,9 @@ describe("support", function() {
6666
const reply = support.process(tickets, message('gimme a compliment'))
6767
assert.equal(reply.substr(-1, 1), '.')
6868
})
69+
70+
it("gimme something that does not exist", function() {
71+
const reply = support.process(tickets, message('gimme a unknown'))
72+
assert.isTrue(reply.endsWith("can you try again?"))
73+
})
6974
})

0 commit comments

Comments
 (0)