Small changes:

- Add statistics output example
 - Fix various compilation warnings
 - Test/bump ruby version to 3.2
 - Fix failing test under OSX

FossilOrigin-Name: c5c6d745d854082b8704c8da61dcc315dbc3d99b8ceec4a82ebea65e861f10ea
This commit is contained in:
Mahlon E. Smith 2023-01-05 23:16:57 +00:00
parent cfc0b7c301
commit 65f4f634cb
7 changed files with 84 additions and 7 deletions

View file

@ -71,7 +71,10 @@ RSpec.describe( MDBX::Database ) do
# here for behavior.
expect {
described_class.open( TEST_DATABASE.to_s )
}.to raise_exception( MDBX::DatabaseError, /resource \w+ unavailable/i )
}.to raise_exception(
MDBX::DatabaseError,
/(?:resource \w+ unavailable|environment is already used)/i
)
end
end