Skip to content
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

Merged
merged 2 commits into from
May 10, 2023

Conversation

backes
Copy link
Member

@backes backes commented May 10, 2023

Those tests were moved to binary-leb128.wast in #1019, but #1287 brought them back.

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
Copy link
Member

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?

Copy link
Member Author

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.

Copy link
Member Author

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)

"\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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And these?

Copy link
Member Author

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.

@backes backes merged commit 0a190c9 into WebAssembly:main May 10, 2023
@backes backes deleted the remove-duplicated-binary-tests branch May 10, 2023 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants