diff options
author | Eric Wong <e@yhbt.net> | 2020-08-26 08:17:39 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-08-27 10:57:25 +0000 |
commit | 22e7956e56f3a63479b894af0ee4812ff7ae025a (patch) | |
tree | 33f7162872b34c01a80be21c9b9ad6318209cfba /t/over.t | |
parent | 1814b1a0b78770c8ba9e7a0adef56c4c324d4064 (diff) | |
download | public-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.t | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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'); |