unit tests fixed

pull/5370/head
aniket-engg 4 years ago committed by Aniket
parent 607b571704
commit 41b403d11e
  1. 10
      libs/remix-analyzer/test/analysis/staticAnalysisIntegration-test-0.4.24.ts
  2. 10
      libs/remix-analyzer/test/analysis/staticAnalysisIntegration-test-0.5.0.ts

@ -276,23 +276,23 @@ test('Integration test similarVariableNames module', function (t: test.Test) {
const lengthCheck: Record<string, number> = {
'KingOfTheEtherThrone.sol': 0,
'assembly.sol': 0,
'ballot.sol': 2,
'ballot_reentrant.sol': 3,
'ballot.sol': 7,
'ballot_reentrant.sol': 16,
'ballot_withoutWarnings.sol': 0,
'cross_contract.sol': 0,
'inheritance.sol': 0,
'modifier1.sol': 0,
'modifier2.sol': 0,
'notReentrant.sol': 1,
'notReentrant.sol': 3,
'structReentrant.sol': 0,
'thisLocal.sol': 0,
'globals.sol': 0,
'library.sol': 0,
'transfer.sol': 0,
'ctor.sol': 1,
'ctor.sol': 2,
'forgottenReturn.sol': 0,
'selfdestruct.sol': 0,
'deleteDynamicArray.sol': 1,
'deleteDynamicArray.sol': 2,
'deleteFromDynamicArray.sol': 0,
'blockLevelCompare.sol': 0,
'intDivisionTruncate.sol': 0,

@ -278,23 +278,23 @@ test('Integration test similarVariableNames module', function (t: test.Test) {
const lengthCheck: Record<string, number> = {
'KingOfTheEtherThrone.sol': 0,
'assembly.sol': 0,
'ballot.sol': 2,
'ballot_reentrant.sol': 11,
'ballot.sol': 7,
'ballot_reentrant.sol': 24,
'ballot_withoutWarnings.sol': 0,
'cross_contract.sol': 0,
'inheritance.sol': 0,
'modifier1.sol': 0,
'modifier2.sol': 0,
'notReentrant.sol': 1,
'notReentrant.sol': 3,
'structReentrant.sol': 0,
'thisLocal.sol': 0,
'globals.sol': 0,
'library.sol': 0,
'transfer.sol': 0,
'ctor.sol': 1,
'ctor.sol': 2,
'forgottenReturn.sol': 0,
'selfdestruct.sol': 0,
'deleteDynamicArray.sol': 1,
'deleteDynamicArray.sol': 2,
'deleteFromDynamicArray.sol': 0,
'blockLevelCompare.sol': 0,
'intDivisionTruncate.sol': 0,

Loading…
Cancel
Save