Skip to content

Commit

Permalink
switches.t: stop testing that -E includes switch
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbs committed Jun 13, 2021
1 parent 4e72416 commit 0bea726
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions t/run/switches.t
Expand Up @@ -12,7 +12,7 @@ BEGIN {

BEGIN { require "./test.pl"; require "./loc_tools.pl"; }

plan(tests => 137);
plan(tests => 136);

use Config;

Expand Down Expand Up @@ -693,11 +693,6 @@ $r = runperl(
);
is( $r, "Hello, world!\n", "-E ~~" );

$r = runperl(
switches => [ '-E', '"no warnings q{experimental::smartmatch}; given(undef) {when(undef) { say q(Hello, world!)"}}']
);
is( $r, "Hello, world!\n", "-E given" );

$r = runperl(
switches => [ '-nE', q("} END { say q/affe/") ],
stdin => 'zomtek',
Expand Down

0 comments on commit 0bea726

Please sign in to comment.