Skip to content

Commit

Permalink
Added test for empty topic subscription.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollina committed Jul 20, 2017
1 parent 7abd055 commit 9f6d351
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -552,8 +552,8 @@ test('publish invalid topic with +', function (t) {
})
})

;['base/#/sub', 'base/#sub', 'base/+xyz/sub'].forEach(function (topic) {
test('subscribe to invalid topic with ' + topic, function (t) {
;['base/#/sub', 'base/#sub', 'base/+xyz/sub', ''].forEach(function (topic) {
test('subscribe to invalid topic with "' + topic + '"', function (t) {
var s = connect(setup())

s.inStream.write({
Expand Down

0 comments on commit 9f6d351

Please sign in to comment.