Added error codes to SyntaxTest expectations (updated tests)

This commit is contained in:
a3d4
2020-06-22 16:51:47 +02:00
parent 8ebe7676d5
commit e04cedafc5
1775 changed files with 3951 additions and 3952 deletions
@@ -14,14 +14,14 @@ contract C {
// ====
// EVMVersion: >=constantinople
// ----
// TypeError: (64-98): Cannot set option "value", since the constructor of contract D is not payable.
// TypeError: (64-98): Function call option "gas" cannot be used with "new".
// TypeError: (102-123): Unknown call option "slt". Valid options are "salt", "value" and "gas".
// TypeError: (102-123): Cannot set option "value", since the constructor of contract D is not payable.
// TypeError: (127-139): Unknown call option "val". Valid options are "salt", "value" and "gas".
// TypeError: (143-172): Duplicate option "salt".
// TypeError: (176-199): Cannot set option "value", since the constructor of contract D is not payable.
// TypeError: (176-199): Cannot set option "value", since the constructor of contract D is not payable.
// TypeError: (203-220): Unknown call option "random". Valid options are "salt", "value" and "gas".
// TypeError: (224-242): Unknown call option "what". Valid options are "salt", "value" and "gas".
// TypeError: (246-259): Function call option "gas" cannot be used with "new".
// TypeError 7006: (64-98): Cannot set option "value", since the constructor of contract D is not payable.
// TypeError 9903: (64-98): Function call option "gas" cannot be used with "new".
// TypeError 9318: (102-123): Unknown call option "slt". Valid options are "salt", "value" and "gas".
// TypeError 7006: (102-123): Cannot set option "value", since the constructor of contract D is not payable.
// TypeError 9318: (127-139): Unknown call option "val". Valid options are "salt", "value" and "gas".
// TypeError 9886: (143-172): Duplicate option "salt".
// TypeError 7006: (176-199): Cannot set option "value", since the constructor of contract D is not payable.
// TypeError 7006: (176-199): Cannot set option "value", since the constructor of contract D is not payable.
// TypeError 9318: (203-220): Unknown call option "random". Valid options are "salt", "value" and "gas".
// TypeError 9318: (224-242): Unknown call option "what". Valid options are "salt", "value" and "gas".
// TypeError 9903: (246-259): Function call option "gas" cannot be used with "new".