File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -299,6 +299,21 @@ def test_rollup_minus():
299299 assert command .rollup_value == 0
300300
301301
302+ def test_rollup_iffy ():
303+ """
304+ @bors rollup=iffy
305+ """
306+
307+ author = "manishearth"
308+ body = "@bors rollup=iffy"
309+ commands = parse_issue_comment (author , body , commit , "bors" )
310+
311+ assert len (commands ) == 1
312+ command = commands [0 ]
313+ assert command .action == 'rollup'
314+ assert command .rollup_value == - 1
315+
316+
302317def test_rollup_never ():
303318 """
304319 @bors rollup=never
@@ -311,7 +326,7 @@ def test_rollup_never():
311326 assert len (commands ) == 1
312327 command = commands [0 ]
313328 assert command .action == 'rollup'
314- assert command .rollup_value == - 1
329+ assert command .rollup_value == - 2
315330
316331
317332def test_rollup_maybe ():
You can’t perform that action at this time.
0 commit comments