Skip to content

Commit 63e5f29

Browse files
committed
Add visibleForTesting annotation to checksumHeaderName
1 parent 0ed432d commit 63e5f29

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/src/source/hosted.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import 'dart:typed_data';
1111
import 'package:collection/collection.dart'
1212
show maxBy, IterableNullableExtension;
1313
import 'package:http/http.dart' as http;
14+
import 'package:meta/meta.dart';
1415
import 'package:path/path.dart' as p;
1516
import 'package:pub_semver/pub_semver.dart';
1617
import 'package:stack_trace/stack_trace.dart';
@@ -1130,6 +1131,7 @@ class _RefAndCache {
11301131
bool operator ==(Object other) => other is _RefAndCache && other.ref == ref;
11311132
}
11321133

1134+
@visibleForTesting
11331135
const checksumHeaderName = 'x-goog-hash';
11341136

11351137
/// Adds a checksum validation "tap" to the response stream and returns a

0 commit comments

Comments
 (0)