diff options
author | Nathan Gass | 2012-03-26 16:12:05 +0000 |
---|---|---|
committer | Nathan Gass | 2012-03-26 16:12:05 +0000 |
commit | 49d2a5ce1b6ad201f051263db7c3a1f5ad6a39ab (patch) | |
tree | 69458c484568e2297de7a0144d26fddeb551b39c | |
parent | 52239c6482d10cbea631befd8f96b74425731b72 (diff) | |
download | itools-49d2a5ce1b6ad201f051263db7c3a1f5ad6a39ab.tar.gz itools-49d2a5ce1b6ad201f051263db7c3a1f5ad6a39ab.tar.bz2 itools-49d2a5ce1b6ad201f051263db7c3a1f5ad6a39ab.zip |
space after \#
-rwxr-xr-x | tests/it_url.t | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/it_url.t b/tests/it_url.t index ee683ce..10fd015 100755 --- a/tests/it_url.t +++ b/tests/it_url.t @@ -88,21 +88,21 @@ is( $url = new it_url('http://www.gna.ch/'); $page = $url->get(); ok( - strpos($page, '</html>'), #UTF8SAFE + strpos($page, '</html>'), # UTF8SAFE '$url->get with url in constructor' ); $url = new it_url('http://bogus.url'); $page = $url->get('http://www.gna.ch/'); ok( - strpos($page, '</html>'), #UTF8SAFE + strpos($page, '</html>'), # UTF8SAFE '$url->get(url) with url as string arg' ); $url = new it_url('http://bogus.url'); $page = $url->get(array('url' => 'http://www.gna.ch/')); ok( - strpos($page, '</html>'), #UTF8SAFE + strpos($page, '</html>'), # UTF8SAFE '$url->get(\'url\' => url) with url as named arg' ); is( @@ -119,13 +119,13 @@ is( unset($url, $page); $page = it_url::get('http://www.gna.ch/'); ok( - strpos($page, '</html>'), #UTF8SAFE + strpos($page, '</html>'), # UTF8SAFE 'it_url::get() static call' ); $pages = it_url::get_multi('urls' => array('a' => 'http://www.gna.ch/', 'b' => 'http://search.ch/')); -ok(strpos($pages['a'], '</html>'), 'it_url::get_multi got first url'); #UTF8SAFE -ok(strpos($pages['b'], '</html>'), 'it_url::get_multi got second url'); #UTF8SAFE +ok(strpos($pages['a'], '</html>'), 'it_url::get_multi got first url'); # UTF8SAFE +ok(strpos($pages['b'], '</html>'), 'it_url::get_multi got second url'); # UTF8SAFE is(count($pages), 2, 'it_url::get_multi no additional array elements'); ?> |