Test for a bug with tags
This commit is contained in:
@@ -361,3 +361,9 @@ def test_alternating_nested(parse):
|
|||||||
for i, x in enumerate(catdogtigers):
|
for i, x in enumerate(catdogtigers):
|
||||||
step = round((i * 0.1) + 0.1, 2)
|
step = round((i * 0.1) + 0.1, 2)
|
||||||
assert_prompt(p3, step, step, x)
|
assert_prompt(p3, step, step, x)
|
||||||
|
|
||||||
|
|
||||||
|
def test_alternating_with_tags(parse):
|
||||||
|
p1 = parse("[[a|b]:HR]", filters="HR")
|
||||||
|
p2 = parse("[a|b]")
|
||||||
|
assert p1.parsed_prompt == p2.parsed_prompt
|
||||||
|
|||||||
Reference in New Issue
Block a user