Commit 8ffc56d1 authored by Sebastian Stark's avatar Sebastian Stark

formatting fixes

parent 90227ab7
......@@ -185,7 +185,7 @@ func subcmdList() {
}
func main() {
logger = log.New(os.Stderr, "", log.Ldate | log.Ltime | log.Lshortfile)
logger = log.New(os.Stderr, "", log.Ldate|log.Ltime|log.Lshortfile)
config = LoadConfig()
if config == nil {
log.Fatal("no config, don't know what to do!")
......
......@@ -89,22 +89,22 @@ func TestPrune(t *testing.T) {
c := make(chan *Snapshot, 100)
tests := []pruneTestPair{
{ 0,
{0,
[]string{},
},
{ schedules[config.Schedule][0],
{schedules[config.Schedule][0],
[]string{
"1400337706-1400337707 Obsolete",
},
},
{ schedules[config.Schedule][0] * 10,
{schedules[config.Schedule][0] * 10,
[]string{
"1400337716-1400337717 Obsolete",
"1400337711-1400337712 Obsolete",
"1400337691-1400337692 Obsolete",
},
},
{ schedules[config.Schedule][0] * 20,
{schedules[config.Schedule][0] * 20,
[]string{
"1400337531-1400337532 Obsolete",
"1400337721-1400337722 Obsolete",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment