Skip to content

Commit e1c406a

Browse files
committed
Remove extraneous lines from test_with_gzip_compression unit test
1 parent 9e4a5f4 commit e1c406a

File tree

1 file changed

+0
-3
lines changed
  • opentelemetry-otlp/src/exporter/tonic

1 file changed

+0
-3
lines changed

opentelemetry-otlp/src/exporter/tonic/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -498,9 +498,6 @@ mod tests {
498498
#[test]
499499
#[cfg(feature = "gzip-tonic")]
500500
fn test_with_gzip_compression() {
501-
// metadata should merge with the current one with priority instead of just replacing it
502-
let mut metadata = MetadataMap::new();
503-
metadata.insert("foo", "bar".parse().unwrap());
504501
let builder = TonicExporterBuilder::default().with_compression(Compression::Gzip);
505502
assert_eq!(builder.tonic_config.compression.unwrap(), Compression::Gzip);
506503
}

0 commit comments

Comments
 (0)