Condom use

My boyfriend and I had Sex using condoms and he wore it the entire time we had sex. I checked it with water afterwards and nothing leaked out. There were no visible tears or holes. Am I good to not worry about a possible pregnancy?