commit | 0d226f22d53de390242cdc871407122e10c8f522 | [log] [tgz] |
---|---|---|
author | Nate Bosch <nbosch@google.com> | Wed Feb 24 09:27:33 2021 -0800 |
committer | GitHub <noreply@github.com> | Wed Feb 24 09:27:33 2021 -0800 |
tree | 4512e9f7bbfc95e8c9ef5c2b7583e9325650ea06 | |
parent | eef2991fea13f49d08e730c64cfcb90f1b49f053 [diff] |
Use collection expansion to add frame info (#1441) Expand a map with the frame info into the full message with `...`. This keeps the structure more clear and makes it obvious that no other side effects happen. Refactor the method finding the frame info. Use `firstWhereOrNull` over a for loop to find the frame matching the suite path. Separate out two returns to make it clear that there are always `null` values for some keys in the map, but not others.
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
.