1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-07 19:09:20 +00:00

feat: overhaul quality checks and expand test suite for clean and optimize features

This commit is contained in:
Tw93
2025-12-31 18:13:37 +08:00
parent 1e8ff30fa1
commit 592f02e6e2
45 changed files with 1506 additions and 910 deletions

View File

@@ -31,15 +31,12 @@ setup() {
[ "$status" -eq 0 ]
MOLE_OUTPUT="$output"
# Check if log file exists
DEBUG_LOG="$HOME/.config/mole/mole_debug_session.log"
[ -f "$DEBUG_LOG" ]
# Validates log content
run grep "Mole Debug Session" "$DEBUG_LOG"
[ "$status" -eq 0 ]
# Validates standard output message (ignoring colors)
[[ "$MOLE_OUTPUT" =~ "Debug session log saved to" ]]
}
@@ -56,7 +53,6 @@ setup() {
DEBUG_LOG="$HOME/.config/mole/mole_debug_session.log"
# Check for system info headers
run grep "User:" "$DEBUG_LOG"
[ "$status" -eq 0 ]