diff --git a/tests/Unit/Math/BigInteger/TestCase.php b/tests/Unit/Math/BigInteger/TestCase.php index 3338aadb..e7f7bbeb 100644 --- a/tests/Unit/Math/BigInteger/TestCase.php +++ b/tests/Unit/Math/BigInteger/TestCase.php @@ -397,4 +397,13 @@ abstract class Unit_Math_BigInteger_TestCase extends PhpseclibTestCase $n = $this->getInstance(2); $x->powMod($e, $n); } + + /** + * @group github1264 + */ + public function test48ToHex() + { + $temp = $this->getInstance(48); + $this->assertSame($temp->toHex(true), '30'); + } }