-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove duplicated binary tests #1649
Remove duplicated binary tests #1649
Conversation
Those tests were moved to `binary-leb128.wast` in WebAssembly#1019, but WebAssembly#1287 brought them back.
"\00" ;; Table index 0 | ||
"\41\00\0b\00" ;; (i32.const 0) with no elements | ||
) | ||
|
||
;; Data segment tags and memory index can have non-minimal length |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't these belong to binary-leb128 as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ack, but that looks like a separate fix. Will upload.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(note: will upload after this PR landed to avoid merge conflict)
test/core/binary.wast
Outdated
"\00\82\80\80\80\80\00" ;; no max, minimum 2 with one byte too many | ||
) | ||
"integer representation too long" | ||
) | ||
|
||
;; Signed LEB128 must not be overlong |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, right, those are already duplicated. Updated this PR to remove them as well.
Those tests were moved to
binary-leb128.wast
in #1019, but #1287 brought them back.