Target posts smaller-than-expected drop in comp sales, shares up