Skip to content

Commit 26849b6

Browse files
committed
Cleanup + drop todo comment
1 parent e9b6d47 commit 26849b6

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

ext/dba/tests/dba_array_keys_inifile.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ check_skip('inifile');
1010
--FILE--
1111
<?php
1212
require_once __DIR__ . '/setup/setup_dba_tests.inc';
13-
$name = 'array_keys_inifle.db';
13+
$name = __DIR__ . '/array_keys_basic.db';
1414

1515
$db = dba_open($name, 'c', 'inifile');
1616

@@ -28,7 +28,7 @@ dba_close($db);
2828
--CLEAN--
2929
<?php
3030
require_once __DIR__ . '/setup/setup_dba_tests.inc';
31-
$db_name = 'array_keys_basic.db';
31+
$db_name = __DIR__ . '/array_keys_basic.db';
3232
cleanup_standard_db($db_name);
3333
?>
3434
--EXPECTF--

ext/dba/tests/setup/setup_dba_tests.inc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ enum LockFlag: string {
4343
case NoLock = '-';
4444
}
4545

46-
// TODO Test which opens a NON DB file to check for memory leaks (at least LMDB has)
47-
4846
function set_up_db_ex(string $handler, string $name, LockFlag $lock, bool $persistent = false) {
4947
$lock_flag = $lock->value;
5048
// Open file in creation/truncation mode

0 commit comments

Comments
 (0)