Skip to content

fix: update B-C-Section.t for Perl 5.42 SVf_FAKE format change#102

Open
atoomic wants to merge 1 commit intobc542from
bc-section
Open

fix: update B-C-Section.t for Perl 5.42 SVf_FAKE format change#102
atoomic wants to merge 1 commit intobc542from
bc-section

Conversation

@atoomic
Copy link
Copy Markdown
Collaborator

@atoomic atoomic commented Feb 19, 2026

SVf_FAKE is now returned as decimal (16777216) instead of hex (0x01000000) in Perl 5.42. Use dynamic B::SVf_FAKE() in test expectations instead of hardcoded hex values.

Also fix output() call in 'cannot call twice' test — the method signature now requires a format argument, which triggered a signature error before reaching the die() guard. Added proper is() assertion.

SVf_FAKE is now returned as decimal (16777216) instead of hex (0x01000000)
in Perl 5.42. Use dynamic B::SVf_FAKE() in test expectations instead of
hardcoded hex values.

Also fix output() call in 'cannot call twice' test — the method signature
now requires a format argument, which triggered a signature error before
reaching the die() guard. Added proper is() assertion.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant