tolo/main_test.go
selamanapps 40a80a6c9b Initial release: Tolo v1.0.0
- Add core CLI functionality (save, run, update, delete, list, show, search)
- Implement JSON-based storage in ~/.tolo/tolo.db.json
- Add beautiful terminal UI with colors and icons
- Support command shortcuts (s, r, u, d, ls, l, sh, se, h, v)
- Add Bash and Zsh shell completion
- Include comprehensive documentation (README, CONTRIBUTING, SECURITY)
- Set up CI/CD workflows with GitHub Actions
- Add installation script and Makefile for build automation
- MIT License

Made with ❤️ at Zemenawi Lab
2026-03-27 06:44:03 +03:00

14 lines
226 B
Go

package main
import (
"testing"
)
func TestVersion(t *testing.T) {
v := "1.0.0"
expected := "tolo version 1.0.0"
result := cmd.Version(v)
if result != expected {
t.Errorf("Expected %s, got %s", expected, result)
}
}