Skip to content

Commit

Permalink
Formating fix on planner_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
xllora committed Apr 17, 2016
1 parent fa482d1 commit 8138c44
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions bql/planner/planner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,35 +201,35 @@ func TestPlannerDropGraph(t *testing.T) {

const (
originalTriples = `/u<joe> "parent_of"@[] /u<mary>
/u<joe> "parent_of"@[] /u<peter>
/u<peter> "parent_of"@[] /u<john>
/u<peter> "parent_of"@[] /u<eve>
/u<peter> "bought"@[2016-01-01T00:00:00-08:00] /c<mini>
/u<peter> "bought"@[2016-02-01T00:00:00-08:00] /c<model s>
/u<peter> "bought"@[2016-03-01T00:00:00-08:00] /c<model x>
/u<peter> "bought"@[2016-04-01T00:00:00-08:00] /c<model y>
/c<mini> "is_a"@[] /t<car>
/c<model s> "is_a"@[] /t<car>
/c<model x> "is_a"@[] /t<car>
/c<model y> "is_a"@[] /t<car>
/l<barcelona> "predicate"@[] "turned"@[2016-01-01T00:00:00-08:00]
/l<barcelona> "predicate"@[] "turned"@[2016-02-01T00:00:00-08:00]
/l<barcelona> "predicate"@[] "turned"@[2016-03-01T00:00:00-08:00]
/l<barcelona> "predicate"@[] "turned"@[2016-04-01T00:00:00-08:00]
`
/u<joe> "parent_of"@[] /u<peter>
/u<peter> "parent_of"@[] /u<john>
/u<peter> "parent_of"@[] /u<eve>
/u<peter> "bought"@[2016-01-01T00:00:00-08:00] /c<mini>
/u<peter> "bought"@[2016-02-01T00:00:00-08:00] /c<model s>
/u<peter> "bought"@[2016-03-01T00:00:00-08:00] /c<model x>
/u<peter> "bought"@[2016-04-01T00:00:00-08:00] /c<model y>
/c<mini> "is_a"@[] /t<car>
/c<model s> "is_a"@[] /t<car>
/c<model x> "is_a"@[] /t<car>
/c<model y> "is_a"@[] /t<car>
/l<barcelona> "predicate"@[] "turned"@[2016-01-01T00:00:00-08:00]
/l<barcelona> "predicate"@[] "turned"@[2016-02-01T00:00:00-08:00]
/l<barcelona> "predicate"@[] "turned"@[2016-03-01T00:00:00-08:00]
/l<barcelona> "predicate"@[] "turned"@[2016-04-01T00:00:00-08:00]
`

tripleFromIssue40 = `/room<Hallway> "connects_to"@[] /room<Kitchen>
/room<Kitchen> "connects_to"@[] /room<Hallway>
/room<Kitchen> "connects_to"@[] /room<Bathroom>
/room<Kitchen> "connects_to"@[] /room<Bedroom>
/room<Bathroom> "connects_to"@[] /room<Kitchen>
/room<Bedroom> "connects_to"@[] /room<Kitchen>
/room<Bedroom> "connects_to"@[] /room<Fire Escape>
/room<Fire Escape> "connects_to"@[] /room<Kitchen>
/item/book<000> "in"@[2016-04-10T4:21:00.000000000Z] /room<Hallway>
/item/book<000> "in"@[2016-04-10T4:23:00.000000000Z] /room<Kitchen>
/item/book<000> "in"@[2016-04-10T4:25:00.000000000Z] /room<Bedroom>
`
/room<Kitchen> "connects_to"@[] /room<Hallway>
/room<Kitchen> "connects_to"@[] /room<Bathroom>
/room<Kitchen> "connects_to"@[] /room<Bedroom>
/room<Bathroom> "connects_to"@[] /room<Kitchen>
/room<Bedroom> "connects_to"@[] /room<Kitchen>
/room<Bedroom> "connects_to"@[] /room<Fire Escape>
/room<Fire Escape> "connects_to"@[] /room<Kitchen>
/item/book<000> "in"@[2016-04-10T4:21:00.000000000Z] /room<Hallway>
/item/book<000> "in"@[2016-04-10T4:23:00.000000000Z] /room<Kitchen>
/item/book<000> "in"@[2016-04-10T4:25:00.000000000Z] /room<Bedroom>
`

testTriples = originalTriples + tripleFromIssue40
)
Expand Down

0 comments on commit 8138c44

Please sign in to comment.