From 2f6ba8da745c7ecb8b5225aaa0a2af7024251b67 Mon Sep 17 00:00:00 2001 From: Aztech Date: Fri, 14 Aug 2015 23:15:31 +0200 Subject: [PATCH] Fix exception message assertion --- src/Uuid.php | 3 +-- tests/UuidTest.php | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Uuid.php b/src/Uuid.php index 312b5dc..3b7066e 100644 --- a/src/Uuid.php +++ b/src/Uuid.php @@ -1112,8 +1112,7 @@ final class Uuid throw new Exception\UnsatisfiedDependencyException( 'When calling ' . __METHOD__ . ' on a 32-bit system, ' - . 'Moontoast\Math\BigNumber must be present in order ' - . 'to generate version 1 UUIDs' + . 'Moontoast\Math\BigNumber must be present' ); } diff --git a/tests/UuidTest.php b/tests/UuidTest.php index 8be8b26..d61886a 100644 --- a/tests/UuidTest.php +++ b/tests/UuidTest.php @@ -1830,7 +1830,7 @@ class UuidTest extends TestCase /** * @covers Rhumsaa\Uuid\Uuid::getInteger * @expectedException Rhumsaa\Uuid\Exception\UnsatisfiedDependencyException - * @expectedExceptionMessage Cannot call Rhumsaa\Uuid\Uuid::getInteger without support for large integers + * @expectedExceptionMessage When calling Rhumsaa\Uuid\Uuid::calculateUuidTime on a 32-bit system, Moontoast\Math\BigNumber must be present */ public function testGetInteger() {