Bug 1847763 - Fix an invalid error case in the JS opcode tests r=yury

Depends on D186075

Differential Revision: https://phabricator.services.mozilla.com/D186076
This commit is contained in:
Simon Thoby 2023-08-14 15:35:24 +00:00
parent 2b94b26a26
commit e1f55c565b

View File

@ -301,7 +301,7 @@ def get_opcodes(dir):
if opcode.op_snake != expected_snake:
raise ValueError(
"Unexpected snake-case name for {}: expected {!r}, got {!r}".format(
opcode.op_camel, expected_snake, opcode.op_snake
opcode.op, expected_snake, opcode.op_snake
)
)