adding a test for #454

This commit is contained in:
Jeremy Ashkenas 2010-06-26 17:21:30 -04:00
parent 698784e103
commit e020f5849c
1 changed files with 5 additions and 0 deletions

View File

@ -48,3 +48,8 @@ ok result is 11
echo: (x) -> x
result: if true then echo((if false then 'xxx' else 'y') + 'a')
ok result is 'ya'
# Testing inline funcs with inline if-elses.
func: -> if 1 < 0.5 then 1 else -1
ok func() is -1