Whitesapce
[irspy-moved-to-github.git] / lib / ZOOM / IRSpy / Test / Record / Fetch.pm
index f6db6b5..f344ba5 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Fetch.pm,v 1.2 2006-10-25 08:40:53 sondberg Exp $
+# $Id: Fetch.pm,v 1.4 2006-10-25 10:19:33 mike Exp $
 
 # See the "Main" test package for documentation
 
@@ -15,7 +15,8 @@ our @ISA = qw(ZOOM::IRSpy::Test);
 sub start {
     my $class = shift();
     my($conn) = @_;
-    my @syntax = ( 'canmarc',
+    my @syntax = (
+                   'canmarc',
                    'danmarc',
                    'grs-1',
                    'ibermarc',
@@ -55,6 +56,11 @@ sub start {
 sub record {
     my($conn, $task, $test_args, $event) = @_;
     my $syn = $test_args->{'syntax'};
+    my $rs = $task->{rs};
+
+    if (1) {
+        print STDERR $rs->record(0)->render();
+    }
 
     $conn->log("irspy_test", "Successfully retrieved a $syn record");
     $conn->record()->store_result('record_fetch',