Skip to content

Backport(v1.16): tests: use never instead of dont_allow (#4671) - #4723

Merged
kenhys merged 1 commit into
v1.16from
v1.16-backport-4671
Dec 26, 2024
Merged

Backport(v1.16): tests: use never instead of dont_allow (#4671)#4723
kenhys merged 1 commit into
v1.16from
v1.16-backport-4671

Conversation

@daipom

@daipom daipom commented Nov 29, 2024

Copy link
Copy Markdown
Contributor

Backported from a2b935a (#4671).

@daipom daipom changed the title tests: use never instead of dont_allow (#4671) Backport(v1.16): tests: use never instead of dont_allow (#4671) Nov 29, 2024
Backported from a2b935a.

Signed-off-by: Daijiro Fukuda <fukuda@clear-code.com>

---

If it use the object applied dont_allow in the other test through ObjectSpace.each_object, it will cause the error.
To relax object constraints, this patch will use never instead.

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
@daipom
daipom force-pushed the v1.16-backport-4671 branch from ba1dd55 to 99aadd9 Compare November 29, 2024 08:46

@kenhys kenhys left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM.

@kenhys
kenhys merged commit c1dbd99 into v1.16 Dec 26, 2024
@kenhys
kenhys deleted the v1.16-backport-4671 branch December 26, 2024 04:54
@daipom daipom added this to the v1.16.7 milestone Jan 28, 2025
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.

3 participants