Skip to content

Commit db69774

Browse files
committed
Test
1 parent 5d3c959 commit db69774

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

dotnet/test/common/BiDi/Network/NetworkTest.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,4 +251,12 @@ public void CanSetCacheBehavior()
251251
Assert.That(async () => await bidi.Network.SetCacheBehaviorAsync(CacheBehavior.Default), Throws.Nothing);
252252
Assert.That(async () => await context.Network.SetCacheBehaviorAsync(CacheBehavior.Default), Throws.Nothing);
253253
}
254+
255+
[Test]
256+
public async Task CanSetExtraHeaders()
257+
{
258+
var result = await bidi.Network.SetExtraHeadersAsync([new Header("x-test-header", "test-value")]);
259+
260+
Assert.That(result, Is.Not.Null);
261+
}
254262
}

0 commit comments

Comments
 (0)