You had ZERO risk of contracting HIV by wearing someone else's clothing. By the time you put the clothes on, the virus (if it was even present) would have been exposed to air and temperature changes and rendered inactive. (unable to infect)
NO RISK NO NEED TO TEST