Modify the expectation files in ASTJSON tests.

This commit is contained in:
Gaith Hallak 2019-10-02 22:31:12 +02:00 committed by chriseth
parent 62a62555bc
commit 51ae296cac
62 changed files with 6847 additions and 6811 deletions

View File

@ -1 +1,3 @@
contract C { uint[] i; } contract C { uint[] i; }
// ----

View File

@ -2,3 +2,5 @@ contract C {
constructor() public { constructor() public {
} }
} }
// ----

View File

@ -15,3 +15,5 @@ contract C {
/** Some comment on mod.*/ modifier mod() { _; } /** Some comment on mod.*/ modifier mod() { _; }
/** Some comment on fn.*/ function fn() public {} /** Some comment on fn.*/ function fn() public {}
} }
// ----

View File

@ -1 +1,3 @@
contract C { enum E { A, B } } contract C { enum E { A, B } }
// ----

View File

@ -1 +1,3 @@
contract C { event E(); } contract C { event E(); }
// ----

View File

@ -2,3 +2,5 @@ contract C {
function() external payable { function() external payable {
} }
} }
// ----

View File

@ -1,3 +1,5 @@
contract C { contract C {
function() external {} function() external {}
} }
// ----

View File

@ -1 +1,3 @@
contract c { function f() public { uint a = 2 + 3; } } contract c { function f() public { uint a = 2 + 3; } }
// ----

View File

@ -1 +1,3 @@
contract c { uint[] a; function f() public { uint[] storage b = a; } } contract c { uint[] a; function f() public { uint[] storage b = a; } }
// ----

View File

@ -1 +1,3 @@
contract C { modifier M(uint i) { _; } function F() M(1) public {} } contract C { modifier M(uint i) { _; } function F() M(1) public {} }
// ----

View File

@ -1 +1,3 @@
contract C { modifier M(uint i) { _; } function F() M(1) public {} } contract C { modifier M(uint i) { _; } function F() M(1) public {} }
// ----

View File

@ -1 +1,3 @@
contract C { function f() public { var x = hex"ff"; } } contract C { function f() public { var x = hex"ff"; } }
// ----

View File

@ -1 +1,3 @@
contract C { modifier M { _; } } contract C { modifier M { _; } }
// ----

View File

@ -1 +1,3 @@
contract c { function f() public { uint[] memory x; } } contract c { function f() public { uint[] memory x; } }
// ----

View File

@ -1 +1,3 @@
contract c { function f() public { uint[][] memory rows; } } contract c { function f() public { uint[][] memory rows; } }
// ----

View File

@ -1 +1,3 @@
contract C {} contract C {}
// ----

View File

@ -1 +1,3 @@
contract C { function f() { var x = 2; x++; } } contract C { function f() { var x = 2; x++; } }
// ----

View File

@ -1 +1,3 @@
library L {} contract C { using L for uint; } library L {} contract C { using L for uint; }
// ----