v1.6.0: Homebrew tap, Pages, PT-BR docs, 6 new test modules
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bats
|
||||
|
||||
setup() {
|
||||
load '../lib/colors.sh'
|
||||
load '../lib/history.sh'
|
||||
}
|
||||
|
||||
@test "show_history exits cleanly with no logs" {
|
||||
run show_history 2>/dev/null || true
|
||||
[ "$status" -eq 0 ]
|
||||
}
|
||||
|
||||
@test "clear_history does not error with no logs" {
|
||||
run clear_history 2>/dev/null || true
|
||||
[ "$status" -eq 0 ]
|
||||
}
|
||||
Reference in New Issue
Block a user