@@ -87,17 +87,17 @@ contract MockContract is MockInterface {
8787 bytes4 public constant SENTINEL_ANY_MOCKS = hex "01 " ;
8888
8989 // A linked list allows easy iteration and inclusion checks
90- mapping (bytes32 => bytes ) calldataMocks;
91- mapping (bytes => MockType) calldataMockTypes;
92- mapping (bytes => bytes ) calldataExpectations;
93- mapping (bytes => string ) calldataRevertMessage;
94- mapping (bytes32 => uint ) calldataInvocations;
95-
96- mapping (bytes4 => bytes4 ) methodIdMocks;
97- mapping (bytes4 => MockType) methodIdMockTypes;
98- mapping (bytes4 => bytes ) methodIdExpectations;
99- mapping (bytes4 => string ) methodIdRevertMessages;
100- mapping (bytes32 => uint ) methodIdInvocations;
90+ mapping (bytes32 => bytes ) calldataMocks;
91+ mapping (bytes => MockType) calldataMockTypes;
92+ mapping (bytes => bytes ) calldataExpectations;
93+ mapping (bytes => string ) calldataRevertMessage;
94+ mapping (bytes32 => uint ) calldataInvocations;
95+
96+ mapping (bytes4 => bytes4 ) methodIdMocks;
97+ mapping (bytes4 => MockType) methodIdMockTypes;
98+ mapping (bytes4 => bytes ) methodIdExpectations;
99+ mapping (bytes4 => string ) methodIdRevertMessages;
100+ mapping (bytes32 => uint ) methodIdInvocations;
101101
102102 MockType fallbackMockType;
103103 bytes fallbackExpectation;
@@ -262,7 +262,7 @@ contract MockContract is MockInterface {
262262 bytes memory nextMock = calldataMocks[MOCKS_LIST_START];
263263 bytes32 mockHash = keccak256 (nextMock);
264264 // We cannot compary bytes
265- while (mockHash != MOCKS_LIST_END_HASH) {
265+ while (mockHash != MOCKS_LIST_END_HASH) {
266266 // Reset all mock maps
267267 calldataMockTypes[nextMock] = MockType.Return;
268268 calldataExpectations[nextMock] = hex "" ;
@@ -279,7 +279,7 @@ contract MockContract is MockInterface {
279279
280280 // Reset all any calldataMocks
281281 bytes4 nextAnyMock = methodIdMocks[SENTINEL_ANY_MOCKS];
282- while (nextAnyMock != SENTINEL_ANY_MOCKS) {
282+ while (nextAnyMock != SENTINEL_ANY_MOCKS) {
283283 bytes4 currentAnyMock = nextAnyMock;
284284 methodIdMockTypes[currentAnyMock] = MockType.Return;
285285 methodIdExpectations[currentAnyMock] = hex "" ;
@@ -298,7 +298,7 @@ contract MockContract is MockInterface {
298298 }
299299
300300 function useAllGas () private {
301- while (true ) {
301+ while (true ) {
302302 bool s;
303303 assembly {
304304 //expensive call to EC multiply contract
0 commit comments