增加tag的测试用例

This commit is contained in:
bryan31
2021-12-09 00:04:08 +08:00
parent d17597b9c2
commit e7ff325e92
2 changed files with 10 additions and 0 deletions

View File

@@ -44,4 +44,10 @@ public class NodeTagSpringbootTest extends BaseTest {
Assert.assertTrue(response.isSuccess());
Assert.assertEquals("a==>a==>a==>c==>e", response.getSlot().printStep());
}
@Test
public void testTag3() throws Exception{
LiteflowResponse<DefaultSlot> response = flowExecutor.execute2Resp("chain3", "arg");
Assert.assertTrue(response.isSuccess());
}
}

View File

@@ -7,4 +7,8 @@
<chain name="chain2">
<then value="a[1],a[2],a[3],c[2](d[5]|e[6])"/>
</chain>
<chain name="chain3">
<when value="b[1],b[2],b[3]"/>
</chain>
</flow>