[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,4 +2,4 @@ contract C {
function f(uint[]) private pure {}
}
// ----
// TypeError 6651: (28-34): Data location must be "storage", "memory" or "calldata" for parameter in function, but none was given.
// TypeError 6651: (28-34='uint[]'): Data location must be "storage", "memory" or "calldata" for parameter in function, but none was given.
@@ -2,4 +2,4 @@ contract C {
function f() private pure returns(uint[]) {}
}
// ----
// TypeError 6651: (51-57): Data location must be "storage", "memory" or "calldata" for return parameter in function, but none was given.
// TypeError 6651: (51-57='uint[]'): Data location must be "storage", "memory" or "calldata" for return parameter in function, but none was given.