Skip to content

Commit

Permalink
fix test broken by warning content change
Browse files Browse the repository at this point in the history
  • Loading branch information
wxtim committed Mar 28, 2024
1 parent 224faf8 commit b4cebe6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/test_graph_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def test_graph_syntax_errors_2(seq, graph, expected_err):
param(
# See https://github.com/cylc/cylc-flow/issues/5844
"foo => bar[1649]",
'illegal cycle point offset on the right',
'Invalid cycle point offsets only on right',
id='no-cycle-point-RHS'
),
]
Expand Down Expand Up @@ -917,7 +917,7 @@ def test_RHS_AND(graph: str, expected_triggers: Dict[str, List[str]]):
'args, err',
(
# Error if offset in terminal RHS:
param((('a', 'b[-P42M]'), {'b[-P42M]'}), 'illegal cycle point offset'),
param((('a', 'b[-P42M]'), {'b[-P42M]'}), 'Invalid cycle point offset'),
# No error if offset in NON-terminal RHS:
param((('a', 'b[-P42M]'), {}), None),
# Don't check the left hand side if this has a non-terminal RHS:
Expand Down

0 comments on commit b4cebe6

Please sign in to comment.