Correct warning in a test.