Trivial isoltest updates: normalized whitespace

This commit is contained in:
Alex Beregszaszi
2021-04-20 17:38:29 +02:00
committed by Kamil Śliwak
parent 45c6bbe02b
commit 84c05d35f3
256 changed files with 276 additions and 277 deletions
@@ -1 +1 @@
pragma abicoder v1;
pragma abicoder v1;
@@ -1 +1 @@
pragma abicoder "v1";
pragma abicoder "v1";
@@ -1 +1 @@
pragma abicoder "v2";
pragma abicoder "v2";
@@ -1,2 +1,2 @@
pragma abicoder v2;
pragma experimental ABIEncoderV2;
pragma experimental ABIEncoderV2;
@@ -2,4 +2,4 @@ contract C {
uint constant LEN = 10;
uint[LEN] ids;
}
// ----
// ----
@@ -2,4 +2,4 @@ contract C {
function f(bytes calldata x) external pure returns (bytes memory) {
return x[1:2];
}
}
}
@@ -21,4 +21,4 @@ contract C {
}
}
// ====
// EVMVersion: >=byzantium
// EVMVersion: >=byzantium
@@ -3,4 +3,4 @@ contract C {
modifier m2(uint[] storage a) { _; }
uint[] s;
function f() m1(b = s) m2(b) internal view returns (uint[] storage b) {}
}
}
@@ -3,4 +3,4 @@ contract C {
// These used to be denominations.
szabo = finney;
}
}
}
@@ -4,4 +4,4 @@ contract C {
E e = E.A;
e;
}
}
}
@@ -18,4 +18,4 @@ contract Test {
function g() public pure {
revert B.E();
}
}
}
@@ -3,4 +3,4 @@ contract A {
}
contract B is A {
event X(uint);
}
}
@@ -2,4 +2,4 @@ contract A {
event X();
event X(uint);
}
// ----
// ----
@@ -1,4 +1,4 @@
==== Source://// ====
==== Source: //// ====
// This test used to throw due to a bug in boost::filesystem.
// See https://github.com/boostorg/filesystem/issues/176
import ".";
@@ -2,4 +2,4 @@
contract A {} contract B {} contract C { struct S { uint a; } }
==== Source: b ====
import "a" as x; import {B as b, C as c, C} from "a";
contract D is b { function f(c.S memory var1, x.C.S memory var2, C.S memory var3) internal {} }
contract D is b { function f(c.S memory var1, x.C.S memory var2, C.S memory var3) internal {} }
@@ -4,4 +4,4 @@ contract C { }
import "a";
==== Source: c ====
import "b";
contract D is C {}
contract D is C {}
@@ -1,4 +1,4 @@
==== Source: a ====
contract C {}
==== Source: b ====
import "a"; contract D is C {}
import "a"; contract D is C {}
@@ -3,4 +3,4 @@ import "./dir/b"; contract A is B {}
==== Source: dir/b ====
contract B {}
==== Source: dir/c ====
import "../a"; contract C is A {}
import "../a"; contract C is A {}
@@ -9,4 +9,4 @@ abstract contract B is I {
function g() external override {}
}
contract C is A, B {
}
}
@@ -5,4 +5,4 @@ contract C {
}
}
}
}
}
@@ -8,4 +8,4 @@ contract C {
}
}
// ====
// EVMVersion: >=byzantium
// EVMVersion: >=byzantium
@@ -6,4 +6,4 @@ contract C {
y := add(1, 2)
}
}
}
}
@@ -2,4 +2,4 @@ abstract contract C {
/// @return value The value returned by this function.
function vote() public virtual returns (uint value);
}
// ----
// ----
@@ -2,4 +2,4 @@ library L {
}
contract C {
using L for address payable;
}
}
@@ -5,4 +5,4 @@ contract C {
mapping(uint => address payable) c;
mapping(uint => address payable[]) d;
}
}
}
@@ -1,4 +1,4 @@
contract test {
function() x;
function() y = x;
}
}
@@ -2,4 +2,4 @@ contract C {
function f() public pure returns(address payable[] memory m) {
m = new address payable[](10);
}
}
}
@@ -3,4 +3,4 @@ contract C {
function f() public pure {
revert E();
}
}
}
@@ -5,4 +5,4 @@ contract C {
function f() public pure {
revert A.E();
}
}
}
@@ -2,4 +2,4 @@ contract C {
function f(bytes calldata x) public pure returns (C[] memory c) {
c = abi.decode(x, (C[]));
}
}
}
@@ -4,4 +4,4 @@ contract C {
S memory s = S(42);
s;
}
}
}
@@ -6,4 +6,4 @@ contract C {
}
}
}
}
@@ -3,4 +3,4 @@ contract C {
(address payable c) = abi.decode(b, (address));
return c;
}
}
}
@@ -5,4 +5,4 @@ contract C {
}
// ====
// EVMVersion: >=constantinople
// ----
// ----
@@ -4,4 +4,4 @@ contract C {
address c = a;
c = b;
}
}
}
@@ -10,4 +10,4 @@ contract C {
c = L.h.selector;
d = L.h.selector;
}
}
}
@@ -4,4 +4,4 @@ contract A {
return x.push();
}
}
// ----
// ----