Skip to content

Commit

Permalink
test_host_redirect_errors.py: Improve a comment
Browse files Browse the repository at this point in the history
Make it clear that "XXX" in this case means that something is wrong.

Signed-off-by: Luke Shumaker <lukeshu@datawire.io>
  • Loading branch information
LukeShu committed Jun 15, 2022
1 parent 33d0446 commit 3ff74b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tests/unit/test_host_redirect_errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
])
Expand Down

0 comments on commit 3ff74b6

Please sign in to comment.