Adjust expected warning