Skip to content

Commit 16e8f73

Browse files
author
Mark
committed
improve document key test
1 parent deb102b commit 16e8f73

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/test/java/com/arangodb/ArangoCollectionTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1693,11 +1693,12 @@ public void getRevision() {
16931693
}
16941694

16951695
@Test
1696-
public void keyWithPunctuationCharacter() {
1697-
final String key = "myKey+";
1696+
public void keyWithSpecialCharacter() {
1697+
final String key = "myKey_-:.@()+,=;$!*'%";
16981698
db.collection(COLLECTION_NAME).insertDocument(new BaseDocument(key));
16991699
final BaseDocument doc = db.collection(COLLECTION_NAME).getDocument(key, BaseDocument.class);
17001700
assertThat(doc, is(notNullValue()));
17011701
assertThat(doc.getKey(), is(key));
17021702
}
1703+
17031704
}

0 commit comments

Comments
 (0)