Go indexer: Add a test that a file is a child of its package.
Reviewers: #core_team, shahms
-// Package file verifies that a file node is generated by the indexer.
+// Package file verifies that a file node is generated by the indexer, and that
+// it has the correct relationship to its package.
//
-//- vname("", "test", "", "src/test/basic/filenode.go", "")
-//- .node/kind file
+//- File=vname("", "test", "", "src/test/basic/filenode.go", "").node/kind file
package file
+
+//- Pkg=vname("package", "test", "", "basic", "go").node/kind package
+//- File childof Pkg
