From 268a7ec6c0da3e78c8b7e1f4efdf083991e81e7e Mon Sep 17 00:00:00 2001 From: Roman Dvornov Date: Fri, 8 Sep 2017 00:43:13 +0300 Subject: [PATCH] remove redundant translate check in parser tests --- test/parse.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/parse.js b/test/parse.js index cba8c58a..15a64c03 100644 --- a/test/parse.js +++ b/test/parse.js @@ -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); }); });