Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add a (visual) test for the `.decodeKludges` method

  • Loading branch information...
commit 18babdda0f9f0110d2ad57d293abf1a7bf0b638f 1 parent a1b0e05
@Mithgol authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 test/test.js
View
5 test/test.js
@@ -108,10 +108,13 @@ describe('Fidonet JAM', function(){
);
assert.equal( blog.encodingFromHeader(header), 'cp866' );
+ console.log('\nKludges of the '+headSampleth+' header:');
+ console.log( blog.decodeKludges(header) );
+
blog.decodeMessage(header, function(err, messageText){
if (err) throw err;
- console.log('The '+headSampleth+' message (decoded):');
+ console.log('\nThe '+headSampleth+' message (decoded):');
console.log(util.inspect(
messageText, false, Infinity, true
));
Please sign in to comment.
Something went wrong with that request. Please try again.