Testing Before Period

Anyone test a few days before period and get a positive test on digital and still got period and weren't actually pregnant?