Skip to content

Commit 9967dac

Browse files
committed
more tests
1 parent 54f2338 commit 9967dac

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

test/listenable_stream_test.dart

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,5 +297,15 @@ void main() {
297297
emitsInOrder([0, emitsDone]),
298298
);
299299
});
300+
301+
test('Has no error', () {
302+
expect(() => ValueNotifier(0).toValueStream().requireError,
303+
throwsA(anything));
304+
305+
expect(
306+
() => ValueNotifier(0).toValueStream(replayValue: true).requireError,
307+
throwsA(anything),
308+
);
309+
});
300310
});
301311
}

0 commit comments

Comments
 (0)