Skip to content

Commit 5bc590f

Browse files
committed
Fix end2end/model_test
1 parent 81cd834 commit 5bc590f

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

test/end2end/model_test.dart

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1834,7 +1834,7 @@ void main() async {
18341834

18351835
group('Class', () {
18361836
late final List<Class> classes;
1837-
late final Class Apple, B, Cat, Dog, F, Dep, SpecialList;
1837+
late final Class Apple, B, Cat, Dog, F, Helper, SpecialList;
18381838
late final Class ExtendingClass, CatString;
18391839

18401840
setUpAll(() {
@@ -1844,7 +1844,7 @@ void main() async {
18441844
Cat = classes.named('Cat');
18451845
Dog = classes.named('Dog');
18461846
F = classes.named('F');
1847-
Dep = classes.named('Deprecated');
1847+
Helper = classes.named('Helper');
18481848
SpecialList = fakeLibrary.classes.named('SpecialList');
18491849
ExtendingClass = twoExportsLib.classes.named('ExtendingClass');
18501850
CatString = exLibrary.classes.named('CatString');
@@ -1879,7 +1879,7 @@ void main() async {
18791879
});
18801880

18811881
test('correctly finds all the classes', () {
1882-
expect(classes, hasLength(34));
1882+
expect(classes, hasLength(33));
18831883
});
18841884

18851885
test('abstract', () {
@@ -1982,10 +1982,9 @@ void main() async {
19821982
});
19831983

19841984
test('exported class should have hrefs from the current library', () {
1985-
expect(
1986-
Dep.href, equals('${htmlBasePlaceholder}ex/Deprecated-class.html'));
1987-
expect(Dep.instanceMethods.named('toString').href,
1988-
equals('${htmlBasePlaceholder}ex/Deprecated/toString.html'));
1985+
expect(Helper.href, equals('${htmlBasePlaceholder}ex/Helper-class.html'));
1986+
expect(Helper.instanceMethods.named('toString').href,
1987+
equals('${htmlBasePlaceholder}ex/Helper/toString.html'));
19891988
});
19901989

19911990
test('F has a single instance method', () {

0 commit comments

Comments
 (0)