Forgot to fix two tests for new WithoutStrategies source step
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/bacfb186 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/bacfb186 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/bacfb186 Branch: refs/heads/TINKERPOP-1752 Commit: bacfb1861623eee8953056a3bc31d28381ea71fa Parents: e1cc01f Author: florianhockmann <[email protected]> Authored: Sun Sep 3 17:35:41 2017 +0200 Committer: florianhockmann <[email protected]> Committed: Sun Sep 3 18:18:40 2017 +0200 ---------------------------------------------------------------------- .../Process/Traversal/BytecodeGeneration/StrategiesTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/bacfb186/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Process/Traversal/BytecodeGeneration/StrategiesTests.cs ---------------------------------------------------------------------- diff --git a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Process/Traversal/BytecodeGeneration/StrategiesTests.cs b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Process/Traversal/BytecodeGeneration/StrategiesTests.cs index 4eec0fa..abf770c 100644 --- a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Process/Traversal/BytecodeGeneration/StrategiesTests.cs +++ b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Process/Traversal/BytecodeGeneration/StrategiesTests.cs @@ -50,7 +50,7 @@ namespace Gremlin.Net.IntegrationTest.Process.Traversal.BytecodeGeneration Assert.Equal("withoutStrategies", bytecode.SourceInstructions[1].OperatorName); Assert.Equal(1, bytecode.SourceInstructions[1].Arguments.Length); - Assert.Equal(new ReadOnlyStrategy(), bytecode.SourceInstructions[1].Arguments[0]); + Assert.Equal(typeof(ReadOnlyStrategy), bytecode.SourceInstructions[1].Arguments[0]); } [Fact] @@ -79,7 +79,7 @@ namespace Gremlin.Net.IntegrationTest.Process.Traversal.BytecodeGeneration Assert.Equal(1, bytecode.SourceInstructions.Count); Assert.Equal(1, bytecode.SourceInstructions[0].Arguments.Length); Assert.Equal("withoutStrategies", bytecode.SourceInstructions[0].OperatorName); - Assert.Equal(new ReadOnlyStrategy(), bytecode.SourceInstructions[0].Arguments[0]); + Assert.Equal(typeof(ReadOnlyStrategy), bytecode.SourceInstructions[0].Arguments[0]); } [Fact]
