Skip to content

Commit

Permalink
Merge pull request #230 from nxadm/master
Browse files Browse the repository at this point in the history
Add use-ok
  • Loading branch information
zoffixznet committed Dec 8, 2015
2 parents 2dcd172 + e55d339 commit 1a1bd3d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/Language/testing.pod
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,14 @@ C<$description> of the test.
my $eulers-constant-approx = 2.71828;
is-approx($eulers-constant-approx, e, "approximate Euler's constant");
=head2 Module loading testing
=item use-ok($module)
Marks a test as passed if the given C<$module> is correctly loaded.
use-ok('Full::Qualified::ModuleName');
=head2 Class membership testing
=item isa-ok($object, $type, $description?)
Expand Down

0 comments on commit 1a1bd3d

Please sign in to comment.