I’m really confused

Last cycle I had a chemical that’s what my doctor told me.. he told me to keep testing and see if it’s negative and for sure the test were going negative anyways the bleeding has now stopped and my doctor told me to take a test after the bleeding stop to confirm as the bleeding would have stopped and everything would have passed so I took one expecting to see nothing and within 3 minutes this line pops up it pink and dark in person my camera won’t get a good photo but I am so confused!! Could it be a faulty test?