change for ext/tidy test
| From: | Christian Wenz | Date: | Wed, 16 Sep 2009 09:29:53 +0000 |
| Subject: | change for ext/tidy test | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-65373@lists.php.net to get a copy of this message | ||
Hello all,
I propose the following change to my test ext/tidy/tests/030.phpt:
$ diff 030.phpt.orig 030.phpt
14c14
< 'indent-attributes' => true, // Boolean
---
> 'markup' => false, // Boolean
21c21
< var_dump($c['indent-attributes']);
---
> var_dump($c['markup']);
27c27
< bool(true)
---
> bool(false)
It basically tests the same things, but should increase code coverage a
bit by both including the code paths for TRUE and FALSE. I am using
another configuration option since the test code ought to change the
default values.
Best regards
Christian