Welcome Peter, as long as your fuel cap sealed, gasket good & you twisted it till it clicked 3 times (USA anyway), then the trouble code probably already lit the check engine light before you bought the car & someone reset the light before you bought the car but it will come back until the issue is fixed. If you plan on keeping the car a long time you should buy a scanner to check the computer for trouble codes. Search this forum for more info.