Skip to content

Commit

Permalink
more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
reyang committed Aug 2, 2022
1 parent e16f4ec commit 56d94c2
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,14 @@ public class PrometheusHttpListenerTests
private readonly string meterName = Utils.GetCurrentMethodName();

[Theory]
[InlineData("http://example.com")]
[InlineData("http://+:9184")]
[InlineData("http://*:9184")]
[InlineData("http://+:9184/")]
[InlineData("http://*:9184/")]
[InlineData("https://example.com")]
[InlineData("http://127.0.0.1")]
[InlineData("http://example.com", "https://example.com", "http://127.0.0.1")]
[InlineData("http://example.com")]
public void UriPrefixesPositiveTest(params string[] uriPrefixes)
{
using MeterProvider meterProvider = Sdk.CreateMeterProviderBuilder()
Expand Down

0 comments on commit 56d94c2

Please sign in to comment.