Actually fully remove the test properly from the previous commit

This commit is contained in:
Alessio 2024-12-09 13:08:48 -08:00
parent 683c05c996
commit 72edf20890

View File

@ -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'") = "2"
# test $(sqlite3 twitter.db "select count(*) from users where handle like '9MonsieurChat9' and not is_deleted") = "1" # 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 $(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 # # 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" # 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" # 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 # 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'") = "2"
test $(sqlite3 twitter.db "select count(*) from users where handle like '9MonsieurChat9' and not is_deleted") = "1" # 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 $(sqlite3 twitter.db "select is_deleted from users where id = 1615394007961731072") = "1"
# Test tweets with URLs # Test tweets with URLs