diff options
author | 2023-08-08 12:26:34 +0100 | |
---|---|---|
committer | 2023-08-08 12:26:34 +0100 | |
commit | 3920bc87d1398893feda21f32e4f59129b2cc9cd (patch) | |
tree | ed5a6651e034fd551f03dcfcf42b9c61a796e001 /test/run-sqlite.sh | |
parent | [chore] Update robots.txt, give chatgpt the middle finger (#2085) (diff) | |
download | gotosocial-3920bc87d1398893feda21f32e4f59129b2cc9cd.tar.xz |
[bugfix] don't accept unrelated statuses (#2078)
Co-authored-by: Daenney <daenney@users.noreply.github.com>
Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
Diffstat (limited to 'test/run-sqlite.sh')
-rwxr-xr-x | test/run-sqlite.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/run-sqlite.sh b/test/run-sqlite.sh index fb5502432..666f88c28 100755 --- a/test/run-sqlite.sh +++ b/test/run-sqlite.sh @@ -2,6 +2,11 @@ set -e +# Ensure test args are set. +ARGS=${@}; [ -z "$ARGS" ] && \ +ARGS='./...' + +# Run the SQLite tests. GTS_DB_TYPE=sqlite \ GTS_DB_ADDRESS=':memory:' \ -go test ./... ${@}
\ No newline at end of file +go test ${ARGS}
\ No newline at end of file |