[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
@@ -2,5 +2,5 @@ interface I {
function f();
}
// ----
// SyntaxError 4937: (15-28): No visibility specified. Did you intend to add "external"?
// TypeError 1560: (15-28): Functions in interfaces must be declared external.
// SyntaxError 4937: (15-28='function f();'): No visibility specified. Did you intend to add "external"?
// TypeError 1560: (15-28='function f();'): Functions in interfaces must be declared external.
@@ -2,4 +2,4 @@ interface I {
function f() internal;
}
// ----
// TypeError 1560: (15-37): Functions in interfaces must be declared external.
// TypeError 1560: (15-37='function f() internal;'): Functions in interfaces must be declared external.
@@ -2,4 +2,4 @@ interface I {
function f() private;
}
// ----
// TypeError 1560: (15-36): Functions in interfaces must be declared external.
// TypeError 1560: (15-36='function f() private;'): Functions in interfaces must be declared external.
@@ -2,4 +2,4 @@ interface I {
function f() public;
}
// ----
// TypeError 1560: (15-35): Functions in interfaces must be declared external.
// TypeError 1560: (15-35='function f() public;'): Functions in interfaces must be declared external.
@@ -7,6 +7,6 @@ abstract contract C {
function g() {}
}
// ----
// SyntaxError 4937: (158-171): No visibility specified. Did you intend to add "external"?
// SyntaxError 4937: (200-215): No visibility specified. Did you intend to add "public"?
// TypeError 1560: (158-171): Functions in interfaces must be declared external.
// SyntaxError 4937: (158-171='function f();'): No visibility specified. Did you intend to add "external"?
// SyntaxError 4937: (200-215='function g() {}'): No visibility specified. Did you intend to add "public"?
// TypeError 1560: (158-171='function f();'): Functions in interfaces must be declared external.