mirror of
https://github.com/ddworken/hishtory.git
synced 2025-04-12 11:38:26 +02:00
Re-add running the test server for some tests do actually sometimes need it
This commit is contained in:
parent
a108268925
commit
6b29591eec
@ -35,6 +35,7 @@ func TestSetup(t *testing.T) {
|
||||
|
||||
func TestBuildHistoryEntry(t *testing.T) {
|
||||
defer shared.BackupAndRestore(t)()
|
||||
defer shared.RunTestServer()()
|
||||
shared.Check(t, Setup([]string{}))
|
||||
|
||||
// Test building an actual entry for bash
|
||||
@ -95,6 +96,7 @@ func TestBuildHistoryEntry(t *testing.T) {
|
||||
func TestBuildHistoryEntryWithRedaction(t *testing.T) {
|
||||
defer shared.BackupAndRestoreEnv("HISTTIMEFORMAT")()
|
||||
defer shared.BackupAndRestore(t)()
|
||||
defer shared.RunTestServer()()
|
||||
shared.Check(t, Setup([]string{}))
|
||||
|
||||
testcases := []struct {
|
||||
|
Loading…
Reference in New Issue
Block a user