Skip to content

Commit 1a1bb92

Browse files
committed
Remove unneeded method
1 parent a26f11b commit 1a1bb92

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

pkgs/native_toolchain_c/test/clinker/treeshake_test.dart

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,6 @@ void main() {
9898
}
9999
}
100100

101-
Future<void> checkResults(LinkOutput linkOutput, int maxSize) async {
102-
final (readelf, sizeInBytes) = await elfAndSize(linkOutput);
103-
104-
expect(readelf, matches(r'[0-9]+\smy_other_func'));
105-
expect(readelf, isNot(contains('my_func')));
106-
107-
expect(sizeInBytes, lessThan(maxSize));
108-
}
109-
110101
Future<(String, int)> elfAndSize(LinkOutput linkOutput) async {
111102
final filePath = linkOutput.assets.first.file!.toFilePath();
112103

0 commit comments

Comments
 (0)