Did I test too early??? (1 day before AF)

Has anyone tested the day before AF is due and got a negative. But later found out they were pregnant?...Maybe testing the day before is too early?