Skip to content

Commit

Permalink
Simplify type system test cases (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
mangalaman93 authored Oct 2, 2019
1 parent bc22254 commit fdded03
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/test/java/io/dgraph/TypeSystemTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@
public class TypeSystemTest extends DgraphIntegrationTest {
private String schema =
""
+ "name: string @index(term, exact) .\n"
+ "age: int .\n"
+ ""
+ "type Person {\n"
+ " name: string\n"
+ " age: int\n"
+ "}\n"
+ "name: string @index(term, exact) .";
+ " name\n"
+ " age\n"
+ "}\n";

@Test
public void testTypeFunction() {
Expand Down

0 comments on commit fdded03

Please sign in to comment.