You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: logger_test.go
    path of file: ./repos/beego/core/logs
    
    the code of the file until where you have to start completion: // Copyright 2016 beego Author. All Rights Reserved.
//
// Licensed under the Apache License, Versi
    
func TestFormatHeader_0(t *testing.T) {
	tm := time.Now()
	if tm.Year() >= 2100 {
		t.FailNow()
	}
	dur := time.Second
	for {
		if tm.Year() >= 2100 {
			break
		}
		h, _, _ := formatTimeHeader(tm)
		if tm.Format("2006/01/02 15:04:05.000 ") != string(h) {
			t.Log(tm)
			t.FailNow()
		}
		tm = tm.Add(dur)
		dur *= 2
	}
}