File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ const testsWithAstChanges = new Map(
6464 } ) ,
6565) ;
6666
67- const unstableAntlrTests = new Map (
67+ const antlrMismatchTests = new Map (
6868 [
6969 // Better placement of comments in Slang.
7070 "BasicIterator/BasicIterator.sol" ,
@@ -100,8 +100,8 @@ const isAstUnstable = (filename, options) => {
100100 return testFunction ( options ) ;
101101} ;
102102
103- const isAntlrUnstable = ( filename , options ) => {
104- const testFunction = unstableAntlrTests . get ( filename ) ;
103+ const isAntlrMismatch = ( filename , options ) => {
104+ const testFunction = antlrMismatchTests . get ( filename ) ;
105105
106106 if ( ! testFunction ) {
107107 return false ;
@@ -323,7 +323,7 @@ async function runTest({
323323
324324 if (
325325 formatOptions . parser === "slang-solidity" &&
326- ! isAntlrUnstable ( filename , formatOptions )
326+ ! isAntlrMismatch ( filename , formatOptions )
327327 ) {
328328 // Compare with ANTLR's format
329329 const prettier = await getPrettier ( ) ;
You can’t perform that action at this time.
0 commit comments