Skip to content

Commit

Permalink
Remove tests of * and > that were left behind
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasfp committed Feb 7, 2024
1 parent 39dd523 commit 924bd3f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions tests/NATS.Client.JetStream.Tests/ConsumerConsumeTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ public class ConsumerConsumeTest
[Theory]
[InlineData("Invalid.DotName")]
[InlineData("Invalid SpaceName")]
[InlineData("Invalid*StarName")]
[InlineData("Invalid>WildcardName")]
[InlineData(null)]
public async Task Consumer_stream_invalid_name_test(string? streamName)
{
Expand Down
2 changes: 0 additions & 2 deletions tests/NATS.Client.JetStream.Tests/JetStreamTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ public class JetStreamTest
[Theory]
[InlineData("Invalid.DotName")]
[InlineData("Invalid SpaceName")]
[InlineData("Invalid*StarName")]
[InlineData("Invalid>WildcardName")]
[InlineData(null)]
public async Task Stream_invalid_name_test(string? streamName)
{
Expand Down
2 changes: 0 additions & 2 deletions tests/NATS.Client.JetStream.Tests/NatsJSContextTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,5 @@ public void Invalid_stream_validation_test()
Assert.Throws<ArgumentNullException>(() => NatsJSContext.ThrowIfInvalidStreamName(null!));
Assert.Throws<ArgumentException>(() => NatsJSContext.ThrowIfInvalidStreamName("Invalid.DotName"));
Assert.Throws<ArgumentException>(() => NatsJSContext.ThrowIfInvalidStreamName("Invalid SpaceName"));
Assert.Throws<ArgumentException>(() => NatsJSContext.ThrowIfInvalidStreamName("Invalid*StarName"));
Assert.Throws<ArgumentException>(() => NatsJSContext.ThrowIfInvalidStreamName("Invalid>WildcardName"));
}
}

0 comments on commit 924bd3f

Please sign in to comment.