Skip to content

Commit

Permalink
remove redundant translate check in parser tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed Sep 7, 2017
1 parent ade1ad1 commit 268a7ec
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/parse.js
Expand Up @@ -42,10 +42,7 @@ describe('parse', function() {
// AST should be equal
assert.equal(stringify(ast), stringify(test.ast));

// translated AST should be equal to original source
assert.equal(translate(ast), 'translate' in test ? test.translate : test.source);

// structure should be ok
// structure should be correct
assert.equal(lexer.checkStructure(ast), false);
});
});
Expand Down

0 comments on commit 268a7ec

Please sign in to comment.