OSDN Git Service
(root)
/
pukiwiki
/
pukiwiki_sandbox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Google
[pukiwiki/pukiwiki_sandbox.git]
/
spam
/
SpamTest.php
diff --git
a/spam/SpamTest.php
b/spam/SpamTest.php
index
7e83756
..
145f361
100644
(file)
--- a/
spam/SpamTest.php
+++ b/
spam/SpamTest.php
@@
-1,5
+1,5
@@
<?php
<?php
-// $Id: SpamTest.php,v 1.2
0 2007/07/31 14:19:42
henoheno Exp $
+// $Id: SpamTest.php,v 1.2
1 2007/08/18 09:10:35
henoheno Exp $
// Copyright (C) 2007 heno
//
// Design test case for spam.php (called from runner.php)
// Copyright (C) 2007 heno
//
// Design test case for spam.php (called from runner.php)
@@
-341,7
+341,7
@@
class SpamTest extends PHPUnit_TestCase
$this->assertTrue(isset($array['goodhost']));
// badhost
$array = get_blocklist('B-1');
$this->assertTrue(isset($array['goodhost']));
// badhost
$array = get_blocklist('B-1');
- $this->assertTrue(isset($array['
*.blogspot
.com']));
+ $this->assertTrue(isset($array['
Google
.com']));
// goodhost
$array = get_blocklist('goodhost');
$this->assertTrue(isset($array['IANA-examples']));
// goodhost
$array = get_blocklist('goodhost');
$this->assertTrue(isset($array['IANA-examples']));