From 3ff74b6043eff2d234cac27bc91728d6182c9253 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 15 Jun 2022 14:28:29 -0600 Subject: [PATCH] test_host_redirect_errors.py: Improve a comment Make it clear that "XXX" in this case means that something is wrong. Signed-off-by: Luke Shumaker --- python/tests/unit/test_host_redirect_errors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tests/unit/test_host_redirect_errors.py b/python/tests/unit/test_host_redirect_errors.py index 2d9918d9fc4..c6ec79a543a 100644 --- a/python/tests/unit/test_host_redirect_errors.py +++ b/python/tests/unit/test_host_redirect_errors.py @@ -142,7 +142,7 @@ def test_hr_error_2(): r1 = Compile(logger, yaml, k8s=True) r2 = Compile(logger, yaml, k8s=True, cache=cache) - # XXX Why are these showing up as "-global-"? + # FIXME(lukeshu): These should not show up as "-global-". require_errors(r1["ir"], [ ( "-global-", "cannot accept mapping-2 without host_redirect after mapping-1 with host_redirect") ])