add extra check for apply being called iff revert happens
This commit is contained in:
parent
c456ef4905
commit
cb19ca499e
@ -294,6 +294,10 @@ func TestAtDoubleTrigger(t *testing.T) {
|
||||
fcs.advance(2, 2, nil)
|
||||
require.False(t, applied)
|
||||
require.False(t, reverted)
|
||||
|
||||
fcs.advance(4, 4, nil)
|
||||
require.True(t, applied)
|
||||
require.True(t, reverted)
|
||||
}
|
||||
|
||||
func TestAtNullTrigger(t *testing.T) {
|
||||
|
Loading…
Reference in New Issue
Block a user