Skip to content

Commit ff2185e

Browse files
committed
woops, fix logical conflict
1 parent c03012f commit ff2185e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

effect/test_fold.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def test_sequence():
7575
eff = sequence(effs)
7676

7777
with dispatcher.consume():
78-
result = sync_perform(_disp(dispatcher), eff)
78+
result = sync_perform(_base_and(dispatcher), eff)
7979
assert result == ['Ei', 'Bee', 'Cee']
8080

8181

@@ -99,7 +99,7 @@ def test_sequence_error():
9999

100100
with dispatcher.consume():
101101
with raises(FoldError) as excinfo:
102-
sync_perform(_disp(dispatcher), eff)
102+
sync_perform(_base_and(dispatcher), eff)
103103
assert excinfo.value.accumulator == ['Ei']
104104
assert excinfo.value.wrapped_exception[0] is ZeroDivisionError
105105
assert str(excinfo.value.wrapped_exception[1]) == 'foo'

0 commit comments

Comments
 (0)