summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/database/query_builder/escape_test.php
diff options
context:
space:
mode:
authorTaufan Aditya <toopay@taufanaditya.com>2012-05-24 23:09:38 +0200
committerTaufan Aditya <toopay@taufanaditya.com>2012-05-24 23:09:38 +0200
commit6a43244e1d739db17db266456221099232d120d6 (patch)
tree11d21b405610969e7a845c1e27f6aecdaf17f4d7 /tests/codeigniter/database/query_builder/escape_test.php
parent2d57445ba66f8b6e5fef526b932d691b0e5690db (diff)
replace space with tab
Diffstat (limited to 'tests/codeigniter/database/query_builder/escape_test.php')
-rw-r--r--tests/codeigniter/database/query_builder/escape_test.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/codeigniter/database/query_builder/escape_test.php b/tests/codeigniter/database/query_builder/escape_test.php
index 6d220d65d..f2d1b84ca 100644
--- a/tests/codeigniter/database/query_builder/escape_test.php
+++ b/tests/codeigniter/database/query_builder/escape_test.php
@@ -23,8 +23,8 @@ class Escape_test extends CI_TestCase {
public function test_escape_like_percent_sign()
{
$string = $this->db->escape_like_str('\%foo');
- $sql = "SELECT `value` FROM `misc` WHERE `key` LIKE '$string%';";
- $res = $this->db->query($sql)->result_array();
+ $sql = "SELECT `value` FROM `misc` WHERE `key` LIKE '$string%';";
+ $res = $this->db->query($sql)->result_array();
// Check the result
$this->assertEquals(1, count($res));
@@ -38,8 +38,8 @@ class Escape_test extends CI_TestCase {
public function test_escape_like_backslash_sign()
{
$string = $this->db->escape_like_str('\\');
- $sql = "SELECT `value` FROM `misc` WHERE `key` LIKE '$string%';";
- $res = $this->db->query($sql)->result_array();
+ $sql = "SELECT `value` FROM `misc` WHERE `key` LIKE '$string%';";
+ $res = $this->db->query($sql)->result_array();
// Check the result
$this->assertEquals(2, count($res));