TestRelDatabaseJoinString verifies the string representation.
(t *testing.T)
| 596 | |
| 597 | // TestRelDatabaseJoinString verifies the string representation. |
| 598 | func TestRelDatabaseJoinString(t *testing.T) { |
| 599 | rt := sdata.RelDatabaseJoin |
| 600 | s := rt.String() |
| 601 | if s != "RelDatabaseJoin" { |
| 602 | t.Errorf("String() = %q, want %q", s, "RelDatabaseJoin") |
| 603 | } |
| 604 | } |
| 605 | |
| 606 | // TestBuildChildGraphQLQuery tests construction of GraphQL sub-queries |
| 607 | // for cross-database child table fetching. |