General merchandise retailer Target has raised its full-year earnings expectations on the back of strong second-quarter results.