diff options
author | Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> | 2022-07-05 11:11:20 +0100 |
---|---|---|
committer | Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> | 2022-07-06 12:29:06 +0100 |
commit | eae348e41d0c90e977085bd4917e69d9fdf21552 (patch) | |
tree | 28935d848a90c23c70e7d214669a05f969d3654a /t/lib | |
parent | 58cf04199f69d7a775bc88024df0bbb48712ea37 (diff) | |
download | perl-eae348e41d0c90e977085bd4917e69d9fdf21552.tar.gz |
Update feature hint bit twiddling test for widened HINT_FEATURE_MASK
When HINT_FEATURE_MASK was widened to 4 bits in commit
5d1739474d967de1ab8a8f88aa5eff250dbc0eab, this test was not updated to
match.
This was not a problem while that bit is not actually in use, but
adding a new bundle for 5.37 to remove bareword_filehandles will break
it.
Diffstat (limited to 't/lib')
-rw-r--r-- | t/lib/feature/bundle | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/lib/feature/bundle b/t/lib/feature/bundle index d12c7912a3..5c7006389a 100644 --- a/t/lib/feature/bundle +++ b/t/lib/feature/bundle @@ -103,7 +103,8 @@ EXPECT Assigning non-zero to $[ is no longer possible at - line 3. ######## # NAME $^H accidentally enabling all features -eval 'BEGIN { $^H |= 0x1c020000 } $_ = evalbytes 12345'; +# HINT_FEATURE_MASK | HINT_LOCALIZE_HH +eval 'BEGIN { $^H |= 0x3c020000 } $_ = evalbytes 12345'; print $_||$@; EXPECT Number found where operator expected at (eval 1) line 1, near "evalbytes 12345" |