(t *testing.T, a ast.Atom, descr []ast.Atom, boundDecls []ast.BoundDecl, incl *ast.InclusionConstraint)
| 60 | } |
| 61 | |
| 62 | func makeDecl(t *testing.T, a ast.Atom, descr []ast.Atom, boundDecls []ast.BoundDecl, incl *ast.InclusionConstraint) ast.Decl { |
| 63 | t.Helper() |
| 64 | decl, err := ast.NewDecl(a, descr, boundDecls, incl) |
| 65 | if err != nil { |
| 66 | t.Fatal(err) |
| 67 | } |
| 68 | return decl |
| 69 | } |
| 70 | |
| 71 | func makeSyntheticDecl(t *testing.T, a ast.Atom) ast.Decl { |
| 72 | t.Helper() |
no test coverage detected