Pulse/internal/updates
rcourtman ed3c992968 Add unit tests for InstallShAdapter utility functions
- Test parseProgress: 23 test cases for progress parsing from install.sh output
- Test readLastLines: 11 test cases including edge cases
- Test version pattern validation: 45 test cases for command injection prevention
- Test DockerUpdater and AURUpdater basic functionality
- Fix bug in readLastLines: handle n<=0 to prevent slice bounds panic

Coverage increased from 35.9% to 38.2%
2025-11-30 04:04:27 +00:00
..
adapter_installsh.go
adapter_installsh_test.go
history.go
manager.go
manager_test.go
mock_updater.go
queue.go
queue_test.go
sse.go
sse_test.go
updater.go
version.go
version_test.go