OSDN Git Service
(root)
/
pukiwiki
/
pukiwiki_sandbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e44420c
)
Google
author
henoheno
<henoheno>
Sat, 18 Aug 2007 09:10:35 +0000
(18:10 +0900)
committer
henoheno
<henoheno>
Sat, 18 Aug 2007 09:10:35 +0000
(18:10 +0900)
spam/SpamTest.php
patch
|
blob
|
history
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']));