[test] Update tests to include location string.

This commit is contained in:
Alexander Arlt
2022-04-01 23:41:18 -05:00
parent d4c02f2270
commit 0783ad9000
2684 changed files with 5877 additions and 5877 deletions
@@ -6,4 +6,4 @@ contract C {
}
}
// ----
// ParserError 6933: (57-66): Expected primary expression.
// ParserError 6933: (57-66='unchecked'): Expected primary expression.
@@ -1,3 +1,3 @@
function f() pure returns (uint) unchecked {}
// ----
// ParserError 5296: (33-42): "unchecked" blocks can only be used inside regular blocks.
// ParserError 5296: (33-42='unchecked'): "unchecked" blocks can only be used inside regular blocks.
@@ -2,4 +2,4 @@ contract C {
modifier m() { unchecked { _; } }
}
// ----
// SyntaxError 2573: (44-45): The placeholder statement "_" cannot be used inside an "unchecked" block.
// SyntaxError 2573: (44-45='_'): The placeholder statement "_" cannot be used inside an "unchecked" block.
@@ -6,4 +6,4 @@ contract C {
}
}
// ----
// ParserError 6933: (76-85): Expected primary expression.
// ParserError 6933: (76-85='unchecked'): Expected primary expression.
@@ -5,4 +5,4 @@ contract C {
}
}
// ----
// ParserError 6933: (26-35): Expected primary expression.
// ParserError 6933: (26-35='unchecked'): Expected primary expression.
@@ -6,4 +6,4 @@ contract C {
}
}
// ----
// ParserError 5296: (65-74): "unchecked" blocks can only be used inside regular blocks.
// ParserError 5296: (65-74='unchecked'): "unchecked" blocks can only be used inside regular blocks.