mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
98_FhemTestUtils.pm: fix typo
git-svn-id: https://svn.fhem.de/fhem/trunk@21932 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
68ba3653a8
commit
be6c082a4a
@ -27,7 +27,7 @@ FhemTestUtils_Define($$)
|
|||||||
my ($hash, $def) = @_;
|
my ($hash, $def) = @_;
|
||||||
my @a = split("[ \t][ \t]*", $def);
|
my @a = split("[ \t][ \t]*", $def);
|
||||||
|
|
||||||
return "Wrong syntax: use define <name> dummy" if(int(@a) != 2);
|
return "Wrong syntax: use define <name> FhemTestUtils" if(int(@a) != 2);
|
||||||
$logInform{$a[0]} = sub() { push @logs, $_[1] };
|
$logInform{$a[0]} = sub() { push @logs, $_[1] };
|
||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user