From 071efe3568185a603229528bb6d65e60f2c38e4f Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Mon, 14 Jan 2019 11:47:58 -0500 Subject: [PATCH] Test long chain of inline diverts --- examples/divert-inline/main.hank | 9 +++++++-- examples/divert-inline/test1.hlog | 4 +++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/examples/divert-inline/main.hank b/examples/divert-inline/main.hank index 384780a..066d27b 100644 --- a/examples/divert-inline/main.hank +++ b/examples/divert-inline/main.hank @@ -5,9 +5,14 @@ This is a text line {if (seen_once>0) "-> second_route"} with a conditional dive - (seen_once) -> start -- (second_route) that can end in two different ways! -> end +- (second_route) that can end in two different ways! +-> end1 - (part2) to another part of the script! -> start -- (end) \ No newline at end of file +- (end1) Let's do something -> end2 +- (end2) really really crazy -> end3 +- (end3) and string together four lines with diverts -> end4 +- (end4) just to see what would happen. +Wow. \ No newline at end of file diff --git a/examples/divert-inline/test1.hlog b/examples/divert-inline/test1.hlog index f5dc631..4d12989 100644 --- a/examples/divert-inline/test1.hlog +++ b/examples/divert-inline/test1.hlog @@ -1,3 +1,5 @@ This is a line that diverts to another part of the script! This is a text line with a conditional divert in it. -This is a text line that can end in two different ways! \ No newline at end of file +This is a text line that can end in two different ways! +Let's do something really really crazy and string together four lines with diverts just to see what would happen. +Wow. \ No newline at end of file