Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
solving about_koans.pl for issue #13
Browse files Browse the repository at this point in the history
  • Loading branch information
chorankates-sfdc committed Dec 13, 2013
1 parent b73f331 commit 6fb72b5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions about_koans.pl
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,17 @@ sub about_koans {
# about_koans() -- introductory koan

# more about truth in about_truth.pl
is (1, 2, '1 is equal to itself');
is (1, 1, '1 is equal to itself');

# more about quoting styles in about_variables.pl
is ('foo', 'bar', 'foo is equal to itself');
is ("xyzzy", "baz", "xyzzy is equal to itself");
is ('foo', 'foo', 'foo is equal to itself');
is ("xyzzy", "xyzzy", "xyzzy is equal to itself");

# more about regular expressions in about_re.pl
like ('Perl is good', qr/great/, 'regular expressions match partial expressions');
like ('Perl is good', qr/good/, 'regular expressions match partial expressions');

ok (0, '0 and undef are false, everything else is true');
ok (undef, '0 and undef are false, everything else is true -- part 2');
ok (1, '0 and undef are false, everything else is true');
ok ('foo', '0 and undef are false, everything else is true -- part 2');

return (Perl::Koans::get_return_code());
}
Expand Down

0 comments on commit 6fb72b5

Please sign in to comment.