commit | 223665cec34bb90ce09a6475907efaa8e2c886e1 | [log] [tgz] |
---|---|---|
author | Nate Bosch <nbosch1@gmail.com> | Wed Aug 12 08:02:28 2020 -0700 |
committer | GitHub <noreply@github.com> | Wed Aug 12 08:02:28 2020 -0700 |
tree | 2d7f212bb5cce344242082aad122347829f711d9 | |
parent | a5a19ebc2dce8bb1ac517a88f91d953e750ef7c6 [diff] |
Replace Stream.fromIterable([]) with Stream.empty() (#1319) Since it's an empty stream it doesn't matter if it is a broadcast or single-subscription stream. `Stream.empty` is more descriptive than `Stream.fromIterable` with a hardcoded empty list. Collapse the short-circuit checks into a single conditional.
This repository contains packages for writing and running Dart tests.
A full featured packaged for writing and running Dart tests on various platforms, e.g. VM, Chrome, Node etc.
A minimal package for writing tests. This package is used by package:test
and package:test_core
.
A minimal package for writing and running tests. It also contains extensions for implementing a custom test runner. This package is used by package:test
.