WIP: unit test done, need further test
This commit is contained in:
@@ -53,7 +53,7 @@ func TestRead(t *testing.T) {
|
||||
_ = f.Close()
|
||||
}
|
||||
|
||||
_ = wingmate.NewLog(os.Stderr)
|
||||
_ = wingmate.NewLog(os.Stderr, wingmate.Caller|wingmate.Time)
|
||||
tests := []testEntry{
|
||||
{
|
||||
name: "positive",
|
||||
|
||||
@@ -20,7 +20,7 @@ func TestCrontab(t *testing.T) {
|
||||
wantErr bool
|
||||
}
|
||||
|
||||
_ = wingmate.NewLog(os.Stderr)
|
||||
_ = wingmate.NewLog(os.Stderr, wingmate.Caller|wingmate.Time)
|
||||
tests := []testEntry{
|
||||
{
|
||||
name: "positive",
|
||||
|
||||
@@ -18,7 +18,7 @@ func TestYaml(t *testing.T) {
|
||||
wantErr bool
|
||||
}
|
||||
|
||||
_ = wingmate.NewLog(os.Stderr)
|
||||
_ = wingmate.NewLog(os.Stderr, wingmate.Caller|wingmate.Time)
|
||||
tests := []testEntry{
|
||||
{
|
||||
name: "positive",
|
||||
|
||||
Reference in New Issue
Block a user