Pregnant?

So I took a test yesterday morning- negative. Then when I looked at later in the evening there was a faint line, so I took another test and it came back negative. Would the test still be accurate if it was sitting out all day?