We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1fa4a1 commit 31d01f2Copy full SHA for 31d01f2
test/search_index_test.dart
@@ -77,7 +77,7 @@ class C {}
77
var classItem = jsonIndex.named('index_json.C');
78
79
expect(classItem['kind'], equals(Kind.class_.index));
80
- expect(classItem['overriddenDepth'], null);
+ expect(classItem['overriddenDepth'], isNull);
81
expect(classItem['desc'], equals('A class.'));
82
expect(
83
classItem['enclosedBy'],
@@ -98,7 +98,7 @@ library;
98
var libraryItem = jsonIndex.named('index_json');
99
100
expect(libraryItem['kind'], equals(Kind.library.index));
101
- expect(libraryItem['overriddenDepth'], null);
+ expect(libraryItem['overriddenDepth'], isNull);
102
// TODO(srawlins): Should not be blank.
103
expect(libraryItem['desc'], equals(''));
104
}
0 commit comments