Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 42f9ff8a

Von Bernd Bleßmann vor mehr als 5 Jahren hinzugefügt

  • ID 42f9ff8af5af7a1c1dd75524d11f38f46c3a1898
  • Vorgänger a9668482
  • Nachfolger 5142828d

Typos und spellcheck: unkown -> unknown

Unterschiede anzeigen:

SL/Controller/File.pm
321 321
  } elsif ( $::form->{object_type} ) {
322 322
    $type = $::form->{object_type};
323 323
  }
324
  die "No object type"     unless $type;
325
  die "No file type"       unless $::form->{file_type};
326
  die "Unkown object type" unless $file_types{$type};
324
  die "No object type"      unless $type;
325
  die "No file type"        unless $::form->{file_type};
326
  die "Unknown object type" unless $file_types{$type};
327 327

  
328 328
  $self->is_global($gldoc);
329 329
  $self->file_type($::form->{file_type});
SL/Helper/Csv.pm
502 502

  
503 503
=item C<ignore_unknown_columns>
504 504

  
505
If set, the import will ignore unkown header columns. Useful for lazy imports,
505
If set, the import will ignore unknown header columns. Useful for lazy imports,
506 506
but deactivated by default.
507 507

  
508 508
=item C<case_insensitive_header>
t/006spellcheck.t
52 52
sekf
53 53
seperat
54 54
sucess
55
unkown
55 56
varsion
56 57
wether
57 58
);
t/helper/csv.t
141 141
  profile => [{class  => 'SL::DB::Part'}],
142 142
);
143 143
$csv->parse;
144
is $csv->get_objects->[0]->lastcost, '1221.52', 'ignore_unkown_columns works';
144
is $csv->get_objects->[0]->lastcost, '1221.52', 'ignore_unknown_columns works';
145 145

  
146 146
#####
147 147

  
t/helper/object.t
163 163
  $dies = 0;
164 164
  1;
165 165
};
166
ok $dies, 'unkown parameter dies';
166
ok $dies, 'unknown parameter dies';
167 167

  
168 168
1;

Auch abrufbar als: Unified diff