You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be some weird interaction with Test::Script.
I'm using Test::Class and whenever I use script_compiles from Test::Script I get:
Modification of a read-only value attempted at /opt/perl/lib/site_perl/5.26.1/Test/Builder.pm line 1442.
Example code:
package Test;
use strict;
use warnings;
use base 'Test::Class';
use Test::More;
use Test::Script;
sub a_compilation_test : Test(startup => 1) {
script_compiles('./t.pl');
}
sub test : Test(1) {
ok(1);
}
package main;
use Test::Class;
Test::Class->runtests;
The content of the script passed to script_compiles makes no difference. It can be even empty.
The text was updated successfully, but these errors were encountered:
- Fix hub->process bug that could let an error pass
- Fix#789 (Modification of read only value)
- Fix typo in Test::Builder when looking for IPC (#777)
- Fix#791, clone_io broke on scalar io layer
- Fix#790 and #756, Exception event stingify exception
- Localize $^E in context (#780)
- Fix test that failed in verbose mode (#770)
There seems to be some weird interaction with Test::Script.
I'm using Test::Class and whenever I use script_compiles from Test::Script I get:
Modification of a read-only value attempted at /opt/perl/lib/site_perl/5.26.1/Test/Builder.pm line 1442.
Example code:
The content of the script passed to script_compiles makes no difference. It can be even empty.
The text was updated successfully, but these errors were encountered: