From 72edf20890cbcf2daede8753be5a4251835df3ab Mon Sep 17 00:00:00 2001 From: Alessio Date: Mon, 9 Dec 2024 13:08:48 -0800 Subject: [PATCH] Actually fully remove the test properly from the previous commit --- cmd/tests.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/cmd/tests.sh b/cmd/tests.sh index 25d8846..0a2733c 100755 --- a/cmd/tests.sh +++ b/cmd/tests.sh @@ -247,14 +247,14 @@ test $(sqlite3 twitter.db "select is_private from users where handle = 'Landshar # test $(sqlite3 twitter.db "select count(*) from users where handle like '9MonsieurChat9'") = "2" # test $(sqlite3 twitter.db "select count(*) from users where handle like '9MonsieurChat9' and not is_deleted") = "1" # test $(sqlite3 twitter.db "select is_deleted from users where id = 1615394007961731072") = "1" - -# Fetch a tweet from such a new account with the same handle as an old one -sqlite3 twitter.db "delete from users where handle like '9MonsieurChat9' and not is_deleted" -test $(sqlite3 twitter.db "select count(*) from users where handle like '9MonsieurChat9'") = "1" -tw fetch_tweet https://x.com/9MonsieurChat9/status/1834121200584589600 # Should update the user as well -test $(sqlite3 twitter.db "select count(*) from users where handle like '9MonsieurChat9'") = "2" -test $(sqlite3 twitter.db "select count(*) from users where handle like '9MonsieurChat9' and not is_deleted") = "1" -test $(sqlite3 twitter.db "select is_deleted from users where id = 1615394007961731072") = "1" +# +# # Fetch a tweet from such a new account with the same handle as an old one +# sqlite3 twitter.db "delete from users where handle like '9MonsieurChat9' and not is_deleted" +# test $(sqlite3 twitter.db "select count(*) from users where handle like '9MonsieurChat9'") = "1" +# tw fetch_tweet https://x.com/9MonsieurChat9/status/1834121200584589600 # Should update the user as well +# test $(sqlite3 twitter.db "select count(*) from users where handle like '9MonsieurChat9'") = "2" +# test $(sqlite3 twitter.db "select count(*) from users where handle like '9MonsieurChat9' and not is_deleted") = "1" +# test $(sqlite3 twitter.db "select is_deleted from users where id = 1615394007961731072") = "1" # Test tweets with URLs