(t *testing.T)
| 31 | } |
| 32 | |
| 33 | func TestGraphViewToolDefinition(t *testing.T) { |
| 34 | def := graphViewToolDefinition() |
| 35 | if def.Function.Name != "graphview" { |
| 36 | t.Fatalf("name = %q", def.Function.Name) |
| 37 | } |
| 38 | if def.Function.Parameters == nil { |
| 39 | t.Fatal("missing parameters") |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | func TestIsGraphViewToolName(t *testing.T) { |
| 44 | for _, n := range []string{"graphview", "@graphview", " GraphView "} { |
nothing calls this directly
no test coverage detected