Skip to content

Commit bc613fe

Browse files
authored
Update old links to point to dart.dev and pub.dev (#244)
1 parent 51352ae commit bc613fe

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# See https://www.dartlang.org/guides/libraries/private-files
1+
# See https://dart.dev/guides/libraries/private-files
22

33
# Files and directories created by pub
44
.dart_tool

CHANGELOG.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,24 @@
2424
## 4.0.0
2525

2626
* Replace the dependency on the
27-
_[test](https://pub.dartlang.org/packages/test)_ package with a dependency on
28-
the new _[test_api](https://pub.dartlang.org/packages/test_api)_ package.
27+
_[test](https://pub.dev/packages/test)_ package with a dependency on
28+
the new _[test_api](https://pub.dev/packages/test_api)_ package.
2929
This dramatically reduces mockito's transitive dependencies.
3030

3131
This bump can result in runtime errors when coupled with a version of the
3232
test package older than 1.4.0.
3333

3434
## 3.0.2
3535

36-
* Rollback the _[test_api](https://pub.dartlang.org/packages/test_api)_ part of
36+
* Rollback the _[test_api](https://pub.dev/packages/test_api)_ part of
3737
the 3.0.1 release. This was breaking tests that use Flutter's current test
3838
tools, and will instead be released as part of Mockito 4.0.0.
3939

4040
## 3.0.1
4141

4242
* Replace the dependency on the
43-
_[test](https://pub.dartlang.org/packages/test)_ package with a dependency on
44-
the new _[test_api](https://pub.dartlang.org/packages/test_api)_ package.
43+
_[test](https://pub.dev/packages/test)_ package with a dependency on
44+
the new _[test_api](https://pub.dev/packages/test_api)_ package.
4545
This dramatically reduces mockito's transitive dependencies.
4646
* Internal improvements to tests and examples.
4747

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Mock library for Dart inspired by [Mockito](https://github.com/mockito/mockito).
44

5-
[![Pub](https://img.shields.io/pub/v/mockito.svg)](https://pub.dartlang.org/packages/mockito)
5+
[![Pub](https://img.shields.io/pub/v/mockito.svg)](https://pub.dev/packages/mockito)
66
[![Build Status](https://travis-ci.org/dart-lang/mockito.svg?branch=master)](https://travis-ci.org/dart-lang/mockito)
77

88
## Let's create mocks

example/iss/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# International Space Station (ISS) library
22

33
This library accesses the International Space Station's APIs
4-
(using [package:http](https://pub.dartlang.org/packages/http))
4+
(using [package:http](https://pub.dev/packages/http))
55
to fetch the space station's current location.
66

77
The unit tests for this library use package:mockito to generate

lib/src/mock.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ class Mock {
118118
dynamic noSuchMethod(Invocation invocation, [Object /*?*/ returnValue]) {
119119
// noSuchMethod is that 'magic' that allows us to ignore implementing fields
120120
// and methods and instead define them later at compile-time per instance.
121-
// See "Emulating Functions and Interactions" on dartlang.org: goo.gl/r3IQUH
122121
invocation = _useMatchedInvocationIfSet(invocation);
123122
if (_whenInProgress) {
124123
_whenCall = _WhenCall(this, invocation);

0 commit comments

Comments
 (0)