Both discounters are contending with price-conscious shoppers, but Walmart reported improving trends with discretionary merchandise.