Commits

Anonymous committed 276ed97

Added a test for undef, and undef'ed the $ff object.

Comments (0)

Files changed (1)

 use strict;
 use warnings;
 
-use Test::More tests => 37;
+use Test::More tests => 38;
 
 BEGIN
 {
         );
     }
 
+    {
+        my $r = $ff->next_obj();
+
+        # TEST
+        ok (!defined($r), "Last result is undef");
+    }
+
+    undef ($ff);
+
     rmtree($t->get_path("./t/sample-data/traverse-1"))
 }