Skip to content
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.

Commit

Permalink
Fix test for yp_master
Browse files Browse the repository at this point in the history
  • Loading branch information
Gasol committed Feb 24, 2014
1 parent ec6bd65 commit da1188a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tests/005-yp_master.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ yp_master() function test
--FILE--
<?php
$domain = yp_get_default_domain();
var_dump(gethostname());
var_dump(yp_master($domain, 'hosts.byaddr'));
$same = gethostname() == yp_master($domain, 'hosts.byaddr');
var_dump($same);
?>
--EXPECT--
bool(true)
--EXPECTF--
string(%d) "%s"

0 comments on commit da1188a

Please sign in to comment.