1. Shlomi Fish
  2. XML-LibXML-CData-Bug-Reproduce

Commits

Shlomi Fish  committed f121f5c

Remove more

  • Participants
  • Parent commits 3a69430
  • Branches default

Comments (0)

Files changed (1)

File t/21types.t

View file
  • Ignore whitespace
 my @compile_defaults;
 
 sub reader_create
-{   my ($schema, $test, $reltype) = @_;
+{
+    my ($schema, $test, $reltype) = @_;
 
-    my $read_t = $schema->compile
+    return $schema->compile
      ( READER             => $reltype
      , check_values       => 1
      , include_namespaces => 0
      , @compile_defaults
      );
-
-    $read_t;
 }
 
 sub writer_create
-{   my ($schema, $test, $reltype) = @_;
+{
+    my ($schema, $test, $reltype) = @_;
 
-    my $write_t = $schema->compile
+    return $schema->compile
      ( WRITER                => $reltype
      , check_values          => 1
      , include_namespaces    => 0
      , use_default_namespace => 1
      , @compile_defaults
      );
-
-    $write_t;
 }