diff options
Diffstat (limited to 'spec/inputs')
| -rw-r--r-- | spec/inputs/with.yue | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/inputs/with.yue b/spec/inputs/with.yue index 19b7be1..3fee48e 100644 --- a/spec/inputs/with.yue +++ b/spec/inputs/with.yue | |||
| @@ -152,4 +152,13 @@ do | |||
| 152 | return with {} | 152 | return with {} |
| 153 | return [123] | 153 | return [123] |
| 154 | 154 | ||
| 155 | do | ||
| 156 | f with item | ||
| 157 | if .id > 0 | ||
| 158 | break .content | ||
| 159 | |||
| 160 | a = with tb | ||
| 161 | if .v | ||
| 162 | break .a | ||
| 163 | |||
| 155 | nil | 164 | nil |
