File tree 2 files changed +3
-9
lines changed
2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ dev_dependencies:
48
48
lints : " >=2.0.0 <5.0.0"
49
49
protoc_plugin : " >=20.0.0 <22.0.0"
50
50
pub_api_client : ^2.1.1
51
- pubspec_parse : ^1.0 .0
51
+ pubspec_parse : ^1.3 .0
52
52
test : ^1.16.7
53
53
test_descriptor : ^2.0.0
54
54
test_process : ^2.0.0
Original file line number Diff line number Diff line change @@ -116,14 +116,8 @@ void main() {
116
116
});
117
117
118
118
test ("matches dartdoc version" , () {
119
- // TODO(nweiz): Just use equals() once dart-lang/pubspec_parse#127 lands
120
- // and is released.
121
- var sassDep = sassPubspec.devDependencies["dartdoc" ];
122
- var pkgDep = pkgPubspec.devDependencies["dartdoc" ];
123
- expect (pkgDep, isA <HostedDependency >());
124
- expect (sassDep, isA <HostedDependency >());
125
- expect ((pkgDep as HostedDependency ).version,
126
- equals ((sassDep as HostedDependency ).version));
119
+ expect (sassPubspec.devDependencies["dartdoc" ],
120
+ equals (pkgPubspec.devDependencies["dartdoc" ]));
127
121
});
128
122
});
129
123
}
You can’t perform that action at this time.
0 commit comments