Skip to content

Commit 04b59ee

Browse files
committed
Fix backslash escaping in a test
1 parent 496e88c commit 04b59ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/WP_SQLite_Driver_Tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3194,7 +3194,7 @@ public function testTranslateLikeBinary() {
31943194
$this->assertQuery( 'INSERT INTO _tmp_table (name) VALUES (NULL);' );
31953195
$this->assertQuery( "INSERT INTO _tmp_table (name) VALUES ('special%chars');" );
31963196
$this->assertQuery( "INSERT INTO _tmp_table (name) VALUES ('special_chars');" );
3197-
$this->assertQuery( "INSERT INTO _tmp_table (name) VALUES ('special\\chars');" );
3197+
$this->assertQuery( "INSERT INTO _tmp_table (name) VALUES ('special\\\\chars');" );
31983198
$this->assertQuery( "INSERT INTO _tmp_table (name) VALUES ('aste*risk');" );
31993199
$this->assertQuery( "INSERT INTO _tmp_table (name) VALUES ('question?mark');" );
32003200

0 commit comments

Comments
 (0)