|
@@ -8,7 +8,7 @@ discard block |
|
|
block discarded – undo |
|
8
|
8
|
{ |
|
9
|
9
|
$hs = new HSAL('localhost', 'hstest', HSAL::DRIVER_HSPHP); |
|
10
|
10
|
|
|
11
|
|
- $result = $hs->fetchArray('test', ['id','name','cnt'], [HSAL::INDEX_PRIMARY => 3]); |
|
|
11
|
+ $result = $hs->fetchArray('test', ['id', 'name', 'cnt'], [HSAL::INDEX_PRIMARY => 3]); |
|
12
|
12
|
|
|
13
|
13
|
$this->assertTrue(is_array($result)); |
|
14
|
14
|
$this->assertEquals(3, count($result)); |
|
@@ -21,7 +21,7 @@ discard block |
|
|
block discarded – undo |
|
21
|
21
|
{ |
|
22
|
22
|
$hs = new HSAL('localhost', 'hstest', HSAL::DRIVER_HSPHP); |
|
23
|
23
|
|
|
24
|
|
- $result = $hs->fetchAssoc('test', ['id','name','cnt'], [HSAL::INDEX_PRIMARY => 3]); |
|
|
24
|
+ $result = $hs->fetchAssoc('test', ['id', 'name', 'cnt'], [HSAL::INDEX_PRIMARY => 3]); |
|
25
|
25
|
|
|
26
|
26
|
$this->assertTrue(is_array($result)); |
|
27
|
27
|
$this->assertEquals(3, count($result)); |
Please login to merge, or discard this patch.