Welcome to Healthcaremagic.
No eating chalk will not affect the pregnancy
but its not good too hence, avoid it.
I would suggest you to get a blood HCG
test done which is much superior to the urine pregnancy test and cannot by any chance miss the pregnancy.
If negative it could be due to hormonal
imbalance which can be diagnosed after evaluating the hormone levels.
Wish you good health.