Remove dash from key.

Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/8f8c41a3
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/8f8c41a3
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/8f8c41a3

Branch: refs/heads/master
Commit: 8f8c41a398b3662daa2b6989b91ebedf4de54c91
Parents: 6836f2f
Author: Mathias Bogaert <[email protected]>
Authored: Tue May 17 07:46:42 2016 +0100
Committer: Mathias Bogaert <[email protected]>
Committed: Thu Jul 7 17:34:38 2016 -0700

----------------------------------------------------------------------
 .../apache/tinkerpop/gremlin/structure/PropertyTest.java  | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/8f8c41a3/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/PropertyTest.java
----------------------------------------------------------------------
diff --git 
a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/PropertyTest.java
 
b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/PropertyTest.java
index 2a7f240..8074d84 100644
--- 
a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/PropertyTest.java
+++ 
b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/PropertyTest.java
@@ -71,7 +71,7 @@ public class PropertyTest {
             final Vertex v = graph.addVertex("name", "marko");
             tryCommit(graph, (graph) -> {
                 final Vertex v1 = graph.vertices(v.id()).next();
-                final VertexProperty p = v1.property("nonexistent-key");
+                final VertexProperty p = v1.property("nonexistentkey");
                 assertEquals(VertexProperty.empty(), p);
             });
         }
@@ -191,10 +191,10 @@ public class PropertyTest {
         public void shouldGetValueThatIsNotPresentOnVertex() {
             final Vertex v = graph.addVertex();
             try {
-                v.value("does-not-exist");
+                v.value("doesnotexist");
                 fail("Call to Element.value() with a key that is not present 
should throw an exception");
             } catch (Exception ex) {
-                validateException(Property.Exceptions.propertyDoesNotExist(v, 
"does-not-exist"), ex);
+                validateException(Property.Exceptions.propertyDoesNotExist(v, 
"doesnotexist"), ex);
             }
 
         }
@@ -207,10 +207,10 @@ public class PropertyTest {
             final Vertex v = graph.addVertex();
             final Edge e = v.addEdge("self", v);
             try {
-                e.value("does-not-exist");
+                e.value("doesnotexist");
                 fail("Call to Element.value() with a key that is not present 
should throw an exception");
             } catch (Exception ex) {
-                validateException(Property.Exceptions.propertyDoesNotExist(e, 
"does-not-exist"), ex);
+                validateException(Property.Exceptions.propertyDoesNotExist(e, 
"doesnotexist"), ex);
             }
 
         }

Reply via email to