tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jorg...@apache.org
Subject tinkerpop git commit: Workaround gherkin parser quote issue
Date Wed, 22 Nov 2017 10:46:04 GMT
Repository: tinkerpop
Updated Branches:
  refs/heads/TINKERPOP-1827 f0120cbb9 -> 7f40ec84f


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/7f40ec84
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/7f40ec84
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/7f40ec84

Branch: refs/heads/TINKERPOP-1827
Commit: 7f40ec84fc1ac22c8407ac05a0a1121909402c99
Parents: f0120cb
Author: Jorge Bay Gondra <jorgebaygondra@gmail.com>
Authored: Wed Nov 22 11:45:54 2017 +0100
Committer: Jorge Bay Gondra <jorgebaygondra@gmail.com>
Committed: Wed Nov 22 11:45:54 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/7f40ec84/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)


Mime
View raw message