Forgot to add the test case for the previous commit
This commit is contained in:
12
unit_tests/regression.suite/issue-14.lsl
Normal file
12
unit_tests/regression.suite/issue-14.lsl
Normal file
@@ -0,0 +1,12 @@
|
||||
list out(){
|
||||
integer n = 3;
|
||||
@continue;
|
||||
llOwnerSay((string)n);
|
||||
--n;
|
||||
if( !n )
|
||||
return [];
|
||||
jump continue;
|
||||
return [];
|
||||
}
|
||||
|
||||
default{state_entry(){llParticleSystem(out());}}
|
||||
19
unit_tests/regression.suite/issue-14.out
Normal file
19
unit_tests/regression.suite/issue-14.out
Normal file
@@ -0,0 +1,19 @@
|
||||
list out()
|
||||
{
|
||||
integer n = 3;
|
||||
@continue;
|
||||
llOwnerSay((string)n);
|
||||
--n;
|
||||
if (!n)
|
||||
return [];
|
||||
jump continue;
|
||||
return [];
|
||||
}
|
||||
|
||||
default
|
||||
{
|
||||
state_entry()
|
||||
{
|
||||
llParticleSystem(out());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user