package main import ( "testing" ) func TestExecute(t *testing.T) { // Just verify the command structure cmd := rootCmd if cmd == nil { t.Error("rootCmd is nil") } if cmd.Use != "markdown-editor" { t.Errorf("Expected Use 'markdown-editor', got '%s'", cmd.Use) } } func TestRunServer(t *testing.T) { cmd := rootCmd if cmd == nil { t.Error("rootCmd is nil") } if cmd.Use != "markdown-editor" { t.Errorf("Expected Use 'markdown-editor', got '%s'", cmd.Use) } }