Skip to content

Commit

Permalink
Add basic parsing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivshti committed Dec 1, 2015
1 parent b8cb2cc commit 6687c40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/basic.js
Expand Up @@ -3,5 +3,7 @@ var fs = require("fs");

fs.readdirSync(".").filter(function(x){ return x.match(".json$") && x.match("-") }).forEach(function(lang) {
tape(lang, function(t) {
try { require("../"+lang); t.ok(true, "parses properly"); } catch(e) { t.error(e) };
t.end();
})
});

0 comments on commit 6687c40

Please sign in to comment.