When you checkin, the airline captures your passport information either by copying the data manually or by reading your passport. If the data doesn't match the application/visa, the system may tell them right then to deny your boarding. Alternatively once you arrive the BoI agent will read your passport using a machine reader and it will return an error because the system won't find your visa as the numbers don't match. Good luck.