You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by jo...@apache.org on 2017/12/05 13:49:52 UTC
[19/25] tinkerpop git commit: Workaround gherkin parser quote issue
Workaround gherkin parser quote issue
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/7c9c3030
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/7c9c3030
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/7c9c3030
Branch: refs/heads/tp32
Commit: 7c9c30306bdca3bdc021b25a66c72e61b9ddf873
Parents: 9672dd0
Author: Jorge Bay Gondra <jo...@gmail.com>
Authored: Wed Nov 22 11:45:54 2017 +0100
Committer: Jorge Bay Gondra <jo...@gmail.com>
Committed: Thu Nov 30 10:01:21 2017 +0100
----------------------------------------------------------------------
.../test/Gremlin.Net.IntegrationTest/Gherkin/CommonSteps.cs | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/7c9c3030/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/CommonSteps.cs
----------------------------------------------------------------------
diff --git a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/CommonSteps.cs b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/CommonSteps.cs
index fda44b8..0011eda 100644
--- a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/CommonSteps.cs
+++ b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/CommonSteps.cs
@@ -296,6 +296,8 @@ namespace Gremlin.Net.IntegrationTest.Gherkin
private static object ParseValue(string stringValue, string graphName)
{
+ // Parser issue: quotes are not normalized
+ stringValue = stringValue.Replace("\\\"", "\"");
Func<string, string, object> parser = null;
string extractedValue = null;
foreach (var kv in Parsers)