From 69b4faa2c5e9f89044071fd9a8d7d0e24467d48b Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 16 Aug 2006 00:10:19 +0000 Subject: [PATCH] Fixed a bug in the test --- PHPUnit/LoaderTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHPUnit/LoaderTest.php b/PHPUnit/LoaderTest.php index a9bec7e..2875f68 100644 --- a/PHPUnit/LoaderTest.php +++ b/PHPUnit/LoaderTest.php @@ -66,7 +66,7 @@ class LoaderTest extends PHPUnit2_Framework_TestCase { BSLoader::NewRegister(); - $this->assertEquals(get_class(BSLoader::GetRegister(1), 'BSRegister'), 'Failed to get arbitrary register'); + $this->assertEquals(get_class(BSLoader::GetRegister(1)), 'BSRegister', 'Failed to get arbitrary register'); $this->assertEquals(sizeof(BSLoader::GetAllRegisters()), 2, 'Sizeof register array is wrong'); $this->assertSame($this->instance, BSLoader::GetRegister(), 'Main register does not match instance'); } -- 2.43.5