There are a couple of mistakes in simpletest_example, mainly in the inline documentation of the .module file. This patch fixes:
- Referring to the D7 version of the tutorial (http://drupal.org/node/890654)
- Before the deliberate bug: explain what the correct version would look like
- In the deliberate bug: fix a bug/typo (own -> any), because one bug is enough to demonstrate simpletest :-)
- Corrected function descriptions for simpletest_example_menu() and _simpletest_example_explanation()

Comments

rfay’s picture

Status: Needs review » Reviewed & tested by the community

Looks great to me. Thanks for the sharp eye!

Would appreciate you checking over the D6 version as well....

rfay’s picture

Status: Reviewed & tested by the community » Fixed

Committed to HEAD: http://drupal.org/cvs?commit=421312

Thanks!

rfay’s picture

Status: Fixed » Patch (to be ported)

Would appreciate a lookover of D6.

marcvangend’s picture

Version: » 6.x-1.x-dev
Status: Patch (to be ported) » Needs review
StatusFileSize
new1.13 KB

The D6 version looked pretty good. Two small changes.

rfay’s picture

Status: Needs review » Fixed

Committed to DRUPAL-6, thanks!

rfay’s picture

BTW: Your help is solicited on improving the tutorial too. If you don't have the edit tab, just apply to join the documentation team with an issue in the documentation queue at http://drupal.org/project/issues/documentation.

Again, thanks so much!

-Randy

marcvangend’s picture

Sure, I will try to add and improve where I can.

I happen to have documentation maintainer permissions since two days, when Webchick wrote these memorable words (http://drupal.org/node/872932#comment-3440008):

Thou hast verily been granted thine "documentation maintainer" permissions. Go forth, brave Sir, and kicketh those docs into shapeth!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.