Skip to content

Commit

Permalink
Add coverage for AddSteps.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielcweber committed Feb 27, 2025
1 parent b6ea1c0 commit 27ef608
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/Core.Tests/GremlinQueryTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,17 @@ public void AsAdmin_AddStep()
.NotBeNull();
}

[Fact]
public void AsAdmin_AddSteps()
{
_g
.V()
.AsAdmin()
.AddSteps<IGremlinQuery<object>>([new InjectStep(ImmutableArray<object>.Empty.Add(0)), FoldStep.Instance])
.Should()
.NotBeNull();
}

[Fact]
public Task AsAdmin_ConfigureMetadata()
{
Expand Down

0 comments on commit 27ef608

Please sign in to comment.