Broken Condom

So I was having sex with my boyfriend the other day and two condoms broke while he was penetrating me. He didn't cum because the condom broke as soon as he penetrated me. I didn't think anything of it at first but now I'm kind of nervous I didn't take a plan B. Do you think I should take a pregnancy test in the near future?