Skip to content

Commit 5bd1a1f

Browse files
committed
fix added tests
1 parent 382a786 commit 5bd1a1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/keys.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ $ascii = memc_get_instance ();
1515
var_dump ($binary->set ('binary key with spaces', 'this is a test'));
1616
var_dump ($binary->getResultCode () == Memcached::RES_BAD_KEY_PROVIDED);
1717

18-
var_dump ($binary->set ('binarykeywith\nnewline', 'this is a test'));
18+
var_dump ($binary->set ('binarykeywithnewline' . PHP_EOL, 'this is a test'));
1919
var_dump ($binary->getResultCode () == Memcached::RES_BAD_KEY_PROVIDED);
2020

2121
var_dump ($ascii->set ('ascii key with spaces', 'this is a test'));
2222
var_dump ($ascii->getResultCode () == Memcached::RES_BAD_KEY_PROVIDED);
2323

24-
var_dump ($binary->set ('asciikeywith\nnewline', 'this is a test'));
24+
var_dump ($binary->set ('asciikeywithnewline' . PHP_EOL, 'this is a test'));
2525
var_dump ($binary->getResultCode () == Memcached::RES_BAD_KEY_PROVIDED);
2626

2727
var_dump ($ascii->set (''/*empty key*/, 'this is a test'));

0 commit comments

Comments
 (0)