Fix assorted typos.
From https://sourceforge.net/p/swig/patches/332/ and some others too.
This commit is contained in:
parent
0dd11cdd8d
commit
f9566ad2df
12 changed files with 20 additions and 20 deletions
|
|
@ -51,7 +51,7 @@ my $ex = new default_args::Except($false);
|
|||
|
||||
my $hit = 0;
|
||||
eval { $ex->exspec(); $hit = 1; };
|
||||
# a zero was thrown, an exception occured, but $@ is false
|
||||
# a zero was thrown, an exception occurred, but $@ is false
|
||||
is($hit, 0, "exspec 1");
|
||||
eval { $ex->exspec(-1) };
|
||||
like($@, qr/^ciao/, "exspec 2");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue