(t *testing.T)
| 721 | } |
| 722 | |
| 723 | func TestConstantToValError(t *testing.T) { |
| 724 | out, err := ast.ConstantToVal(&exprpb.Constant{}) |
| 725 | if err == nil { |
| 726 | t.Errorf("ConstantToVal() got %v, wanted error", out) |
| 727 | } |
| 728 | } |
| 729 | |
| 730 | func sourceWithExtension(info *ast.SourceInfo, ext ast.Extension) *ast.SourceInfo { |
| 731 | info.AddExtension(ext) |
nothing calls this directly
no test coverage detected