Relatedly, before general relativity, people already knew something was wrong with Newton's theory of gravity from observing the orbit of Mercury, which didn't follow the theory accurately. At that time Mercury, being so close to the Sun, was an extreme condition that showed the flaws in the theory.
The fact that general relativity continues to hold up to every observation we can make is remarkable.