Permalink
Browse files

Test empty payload

  • Loading branch information...
1 parent 6ea19fd commit 41dbf250dba697f6d936cf0e6eb09aad371ca8d2 @josh josh committed with Sep 28, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 test/test.js
View
@@ -83,6 +83,7 @@ var ns = require('../lib/ns');
ts.addTests({
'simple' : function(as) {
+ as.equal(ns.nsPayload('0:,'), '');
as.equal(ns.nsPayload('3:abc,'), 'abc');
as.equal(ns.nsPayload(new Buffer('3:abc,')), 'abc');
},

0 comments on commit 41dbf25

Please sign in to comment.