Skip to content

Commit

Permalink
Don't assert an exception with a snapshot.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielcweber committed Sep 6, 2024
1 parent 73b82ad commit b75f4a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 102 deletions.

This file was deleted.

6 changes: 5 additions & 1 deletion test/Providers.GremlinServer.Tests/IntegrationTests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using ExRam.Gremlinq.Core;
using ExRam.Gremlinq.Core.Execution;
using ExRam.Gremlinq.Tests.Fixtures;
using ExRam.Gremlinq.Tests.Infrastructure;

Expand Down Expand Up @@ -211,7 +212,10 @@ public Task TimeSpan_from_float() => _g
public Task TimeSpan_from_malformed_string() => _g
.Inject("abc")
.Cast<TimeSpan>()
.Verify();
.Awaiting(_ => _
.FirstOrDefaultAsync())
.Should()
.ThrowAsync<GremlinQueryExecutionException>();

[Fact]
public async Task Deserialization_of_typed_results_is_only_called_once()
Expand Down

0 comments on commit b75f4a2

Please sign in to comment.