about summary refs log tree commit homepage
path: root/t/over.t
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-08-26 08:17:39 +0000
committerEric Wong <e@yhbt.net>2020-08-27 10:57:25 +0000
commit22e7956e56f3a63479b894af0ee4812ff7ae025a (patch)
tree33f7162872b34c01a80be21c9b9ad6318209cfba /t/over.t
parent1814b1a0b78770c8ba9e7a0adef56c4c324d4064 (diff)
downloadpublic-inbox-22e7956e56f3a63479b894af0ee4812ff7ae025a.tar.gz
over: rename ->disconnect to ->dbh_close
Since we got rid of over->connect, `disconnect' no longer pairs
with it.  So name it after the `close(2)' syscall it ultimately
issues.
Diffstat (limited to 't/over.t')
-rw-r--r--t/over.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/over.t b/t/over.t
index 6c4c8ee6..41c13872 100644
--- a/t/over.t
+++ b/t/over.t
@@ -23,7 +23,7 @@ $y = $over->sid('hello-WORLD');
 is($y, $x+1, 'sid increases');
 is($over->sid('hello-world'), $x, 'idempotent');
 ok(!$over->{dbh}->{ReadOnly}, 'OverIdx is not ReadOnly');
-$over->disconnect;
+$over->dbh_close;
 
 $over = PublicInbox::Over->new("$tmpdir/over.sqlite3");
 ok($over->dbh->{ReadOnly}, 'Over is ReadOnly');