Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test that mg_copy is called only when expected.
mg_copy is called for most operations on tied hashes, but not for `keys`. This is externally observable behaviour, and Variable::Magic on CPAN has a regression test that expects the current behaviour. However, until this commit we had no tests in core that verified that the current behaviour has not changed. Hence this new test. Add the `static` keyword that was missing on several related variables and functions in APItest.xs
- Loading branch information
Showing
2 changed files
with
72 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters