Does surgery risk a pregnancy? It must, I just was unaware. (“duh” moment for me)
Anyway, I would call the doctor to reschedule for after you can test and have a true positive or negative result. Since you’re said you’re canceling already, then you’ve made up your mind! God will be with you and lead you and allow for another time for the surgery.
Keep us posted