tests/glx: fail if the expected error isn't received
This change aligns the test with the comment: we expected to receive a GLXBadWindow error, so fail the test if we don't get one.
Edited by Pierre-Eric Pelloux-Prayer
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
This change aligns the test with the comment: we expected to receive a GLXBadWindow error, so fail the test if we don't get one.