| Index: utils/tests/pub/version_solver_test.dart
|
| diff --git a/utils/tests/pub/version_solver_test.dart b/utils/tests/pub/version_solver_test.dart
|
| index 6c0626f6573bc06350de06d7bc79f4b27e61a834..eb49d3d8236a50ad596cf8265e9e76e64d8107f8 100644
|
| --- a/utils/tests/pub/version_solver_test.dart
|
| +++ b/utils/tests/pub/version_solver_test.dart
|
| @@ -461,14 +461,13 @@ testResolve(description, packages, {lockfile, result, Matcher error}) {
|
| });
|
| }
|
|
|
| -/**
|
| - * A source used for testing. This both creates mock package objects and acts as
|
| - * a source for them.
|
| - *
|
| - * In order to support testing packages that have the same name but different
|
| - * descriptions, a package's name is calculated by taking the description string
|
| - * and stripping off any trailing hyphen followed by non-hyphen characters.
|
| - */
|
| +/// A source used for testing. This both creates mock package objects and acts
|
| +/// as a source for them.
|
| +///
|
| +/// In order to support testing packages that have the same name but different
|
| +/// descriptions, a package's name is calculated by taking the description
|
| +/// string and stripping off any trailing hyphen followed by non-hyphen
|
| +/// characters.
|
| class MockSource extends Source {
|
| final Map<String, Map<Version, Package>> _packages;
|
|
|
| @@ -515,10 +514,8 @@ class MockSource extends Source {
|
| }
|
| }
|
|
|
| -/**
|
| - * A source used for testing that doesn't natively understand versioning,
|
| - * similar to how the Git and SDK sources work.
|
| - */
|
| +/// A source used for testing that doesn't natively understand versioning,
|
| +/// similar to how the Git and SDK sources work.
|
| class MockVersionlessSource extends Source {
|
| final Map<String, Package> _packages;
|
|
|
|
|