forked from projectmoon/tenebrous-dicebot
cf6dd96b34
For some reason, also required rewriting database tests to deal with tempfile deleting files after scope drop. This never used to occur, but now it does! So now the unit tests are in a closure where the temp file is dropped at the end of the test. Really should just use sqlx migrations, then we can get an in-memory database. Co-authored-by: projectmoon <projectmoon@agnos.is> Reviewed-on: projectmoon/tenebrous-dicebot#88 Co-Authored-By: projectmoon <projectmoon@noreply.git.agnos.is> Co-Committed-By: projectmoon <projectmoon@noreply.git.agnos.is> |
||
---|---|---|
.. | ||
basic | ||
bin | ||
bot | ||
cofd | ||
commands | ||
cthulhu | ||
db | ||
parser | ||
rpc | ||
config.rs | ||
context.rs | ||
error.rs | ||
help.rs | ||
lib.rs | ||
logic.rs | ||
matrix.rs | ||
models.rs | ||
state.rs |