Skip to content

Commit 209064d

Browse files
committed
solc tests
1 parent 9b5cdbf commit 209064d

18 files changed

Lines changed: 45 additions & 45 deletions

tests/format/HexLiteral/HexLiteral.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity 0.8.27;
2+
pragma solidity 0.8.28;
33

44
contract HexLiteral {
55
bytes8 hex1 = hex'DeadBeef';

tests/format/HexLiteral/__snapshots__/format.test.js.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ singleQuote: false
88
| printWidth
99
=====================================input======================================
1010
// SPDX-License-Identifier: MIT
11-
pragma solidity 0.8.27;
11+
pragma solidity 0.8.28;
1212
1313
contract HexLiteral {
1414
bytes8 hex1 = hex'DeadBeef';
@@ -17,7 +17,7 @@ contract HexLiteral {
1717
1818
=====================================output=====================================
1919
// SPDX-License-Identifier: MIT
20-
pragma solidity 0.8.27;
20+
pragma solidity 0.8.28;
2121
2222
contract HexLiteral {
2323
bytes8 hex1 = hex"DeadBeef";
@@ -35,7 +35,7 @@ singleQuote: true
3535
| printWidth
3636
=====================================input======================================
3737
// SPDX-License-Identifier: MIT
38-
pragma solidity 0.8.27;
38+
pragma solidity 0.8.28;
3939
4040
contract HexLiteral {
4141
bytes8 hex1 = hex'DeadBeef';
@@ -44,7 +44,7 @@ contract HexLiteral {
4444
4545
=====================================output=====================================
4646
// SPDX-License-Identifier: MIT
47-
pragma solidity 0.8.27;
47+
pragma solidity 0.8.28;
4848
4949
contract HexLiteral {
5050
bytes8 hex1 = hex'DeadBeef';

tests/format/ModifierInvocations/ModifierInvocations.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity 0.8.27;
2+
pragma solidity 0.8.28;
33

44
contract ModifierDefinitions {
55
// We enforce the use of parentheses in modifiers without parameters.

tests/format/NumberLiteral/NumberLiteral.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity 0.8.27;
2+
pragma solidity 0.8.28;
33

44
contract NumberLiteral {
55
function numbers()public {

tests/format/NumberLiteral/__snapshots__/format.test.js.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ printWidth: 80
77
| printWidth
88
=====================================input======================================
99
// SPDX-License-Identifier: MIT
10-
pragma solidity 0.8.27;
10+
pragma solidity 0.8.28;
1111
1212
contract NumberLiteral {
1313
function numbers()public {
@@ -22,7 +22,7 @@ contract NumberLiteral {
2222
2323
=====================================output=====================================
2424
// SPDX-License-Identifier: MIT
25-
pragma solidity 0.8.27;
25+
pragma solidity 0.8.28;
2626
2727
contract NumberLiteral {
2828
function numbers() public {

tests/format/Parentheses/AddNoParentheses.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity 0.8.27;
2+
pragma solidity 0.8.28;
33

44
contract AddNoParentheses {
55
function addAdd(uint256 a, uint256 b, uint256 c)

tests/format/Parentheses/BitAndNoParentheses.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity 0.8.27;
2+
pragma solidity 0.8.28;
33

44
contract BitAndNoParentheses {
55
function bitAndAdd(uint256 a, uint256 b, uint256 c)

tests/format/Parentheses/BitOrNoParentheses.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity 0.8.27;
2+
pragma solidity 0.8.28;
33

44
contract BitOrNoParentheses {
55
function bitOrAdd(uint256 a, uint256 b, uint256 c)

tests/format/Parentheses/BitXorNoParentheses.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity 0.8.27;
2+
pragma solidity 0.8.28;
33

44
contract BitXorNoParentheses {
55
function bitXorAdd(uint256 a, uint256 b, uint256 c)

tests/format/Parentheses/DivNoParentheses.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity 0.8.27;
2+
pragma solidity 0.8.28;
33

44
contract DivNoParentheses {
55
function divAdd(uint256 a, uint256 b, uint256 c)

0 commit comments

Comments
 (0)