(s string)
| 29 | ) |
| 30 | |
| 31 | func atom(s string) ast.Atom { |
| 32 | term, err := parse.Term(s) |
| 33 | if err != nil { |
| 34 | panic(err) |
| 35 | } |
| 36 | return term.(ast.Atom) |
| 37 | } |
| 38 | |
| 39 | func evalAtom(t *testing.T, str string) ast.Atom { |
| 40 | term, err := parse.Term(str) |
no test coverage detected