(t *testing.T)
| 15 | } |
| 16 | |
| 17 | func TestCursorProvider_CLIPath(t *testing.T) { |
| 18 | p := NewCursorProvider("") |
| 19 | if p.CLIPath() != "agent" { |
| 20 | t.Errorf("CLIPath() empty arg = %q, want agent", p.CLIPath()) |
| 21 | } |
| 22 | p2 := NewCursorProvider("/usr/local/bin/agent") |
| 23 | if p2.CLIPath() != "/usr/local/bin/agent" { |
| 24 | t.Errorf("CLIPath() custom = %q, want /usr/local/bin/agent", p2.CLIPath()) |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | func TestCursorProvider_LogFileName(t *testing.T) { |
| 29 | p := NewCursorProvider("") |
nothing calls this directly
no test coverage detected