mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-02-04 12:58:28 +00:00
Tests: don't do echo in unit tests
This commit is contained in:
parent
90e3b38a29
commit
ecd2512a32
@ -18,7 +18,7 @@ class PrimeFieldTest extends PhpseclibTestCase
|
||||
$num = new PrimeField($p);
|
||||
$num2 = $num->newInteger($a);
|
||||
|
||||
echo $num2->squareRoot();
|
||||
$num2->squareRoot();
|
||||
}
|
||||
|
||||
public function testPrimeFieldWithPrimeNumbers()
|
||||
@ -29,7 +29,7 @@ class PrimeFieldTest extends PhpseclibTestCase
|
||||
$num = new PrimeField($p);
|
||||
$num2 = $num->newInteger($a);
|
||||
|
||||
echo $num2->squareRoot();
|
||||
$this->assertFalse($num2->squareRoot());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user