Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Switch tests to use ! .defined rather than .notdef.

  • Loading branch information...
commit 3d94c1980c1c08e1504f2676bcfafa2d0877d07e 1 parent 5b79c46
colomon authored April 27, 2011

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  t/fake_input.t
4  t/fake_input.t
@@ -9,7 +9,7 @@ my $fh = IN(1,2,3);
9 9
 OK  $fh.get(),  1,            :desc<Faking first line>;
10 10
 OK  $fh.get(),  2,            :desc<Faking second line>;
11 11
 OK  $fh.get(),  3,            :desc<Faking third line>;
12  
-OK  $fh.get(),  *.notdef,     :desc<Faking EOF>;
  12
+OK  $fh.get(),  ! *.defined,  :desc<Faking EOF>;
13 13
 
14 14
 # Fake reading all lines...
15 15
 $fh = IN(1,2,3);
@@ -30,7 +30,7 @@ $fh = IN(1,2,3);
30 30
 OK  $fh.getc(),    "1",           :desc<Faking getc>;
31 31
 OK  $fh.getc(),    "\n",          :desc<Faking getc again>;
32 32
 OK  $fh.read(3),   "2\n3",        :desc<Faking read>;
33  
-OK  $fh.getc(),    *.notdef,      :desc<Should now hit EOF>;
  33
+OK  $fh.getc(),    ! *.defined,   :desc<Should now hit EOF>;
34 34
 OK  $fh.eof,       1,             :desc<Should be at EOF>;
35 35
 
36 36
 # Fake EOF...

0 notes on commit 3d94c19

Please sign in to comment.
Something went wrong with that request. Please try again.