From 42f9ff8af5af7a1c1dd75524d11f38f46c3a1898 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Fri, 18 Jan 2019 13:50:31 +0100 Subject: [PATCH] Typos und spellcheck: unkown -> unknown --- SL/Controller/File.pm | 6 +++--- SL/Helper/Csv.pm | 2 +- t/006spellcheck.t | 1 + t/helper/csv.t | 2 +- t/helper/object.t | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/SL/Controller/File.pm b/SL/Controller/File.pm index 846317467..3412ffbbb 100644 --- a/SL/Controller/File.pm +++ b/SL/Controller/File.pm @@ -321,9 +321,9 @@ sub check_object_params { } elsif ( $::form->{object_type} ) { $type = $::form->{object_type}; } - die "No object type" unless $type; - die "No file type" unless $::form->{file_type}; - die "Unkown object type" unless $file_types{$type}; + die "No object type" unless $type; + die "No file type" unless $::form->{file_type}; + die "Unknown object type" unless $file_types{$type}; $self->is_global($gldoc); $self->file_type($::form->{file_type}); diff --git a/SL/Helper/Csv.pm b/SL/Helper/Csv.pm index cea43ae69..e9fd45c6a 100644 --- a/SL/Helper/Csv.pm +++ b/SL/Helper/Csv.pm @@ -502,7 +502,7 @@ See section L for information on this topic. =item C -If set, the import will ignore unkown header columns. Useful for lazy imports, +If set, the import will ignore unknown header columns. Useful for lazy imports, but deactivated by default. =item C diff --git a/t/006spellcheck.t b/t/006spellcheck.t index 922367663..bc511a426 100644 --- a/t/006spellcheck.t +++ b/t/006spellcheck.t @@ -52,6 +52,7 @@ puhs sekf seperat sucess +unkown varsion wether ); diff --git a/t/helper/csv.t b/t/helper/csv.t index 7997fe77f..13bcba7c7 100644 --- a/t/helper/csv.t +++ b/t/helper/csv.t @@ -141,7 +141,7 @@ EOL profile => [{class => 'SL::DB::Part'}], ); $csv->parse; -is $csv->get_objects->[0]->lastcost, '1221.52', 'ignore_unkown_columns works'; +is $csv->get_objects->[0]->lastcost, '1221.52', 'ignore_unknown_columns works'; ##### diff --git a/t/helper/object.t b/t/helper/object.t index 8f4095beb..f61c894c2 100644 --- a/t/helper/object.t +++ b/t/helper/object.t @@ -163,6 +163,6 @@ eval { package T::Helper::Object::Test6; $dies = 0; 1; }; -ok $dies, 'unkown parameter dies'; +ok $dies, 'unknown parameter dies'; 1; -- 2.20.1