소스 검색

Test suite: minor code formatting changes.

Daniele Alessandri 15 년 전
부모
커밋
d69a872359
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      test/RedisCommandsTest.php

+ 3 - 2
test/RedisCommandsTest.php

@@ -358,7 +358,6 @@ class RedisCommandTestSuite extends PHPUnit_Framework_TestCase {
         $this->assertEquals(2, $this->redis->rpush('metavars', 'hoge'));
 
         // should throw an exception when trying to do a RPUSH on non-list types
-        // should throw an exception when trying to do a LPUSH on non-list types
         RC::testForServerException($this, RC::EXCEPTION_WRONG_TYPE, function($test) {
             $test->redis->set('foo', 'bar');
             $test->redis->rpush('foo', 'bar');
@@ -594,7 +593,6 @@ class RedisCommandTestSuite extends PHPUnit_Framework_TestCase {
         });
     }
 
-
     function testListPopLastPushHead() {
         $numbers = RC::pushTailAndReturn($this->redis, 'numbers', array(0, 1, 2));
         $this->assertEquals(0, $this->redis->llen('temporary'));
@@ -1450,6 +1448,7 @@ class RedisCommandTestSuite extends PHPUnit_Framework_TestCase {
         });
     }
 
+
     /* commands operating on hashes */
 
     function testHashSet() {
@@ -1596,6 +1595,7 @@ class RedisCommandTestSuite extends PHPUnit_Framework_TestCase {
         });
     }
 
+
     /* multiple databases handling commands */
 
     function testSelectDatabase() {
@@ -1723,6 +1723,7 @@ class RedisCommandTestSuite extends PHPUnit_Framework_TestCase {
         });
     }
 
+
     /* remote server control commands */
 
     function testInfo() {