1
0
Fork 0

Added tests for job package

This commit is contained in:
Julien Dessaux 2020-02-11 22:20:47 +01:00
parent c84817132d
commit 88757ef736
4 changed files with 54 additions and 1 deletions

View file

@ -10,5 +10,5 @@ type Job struct {
}
func (job Job) String() string {
return fmt.Sprintf("Name: \"%s\", Timestamp: \"%d\", Success: \"%t\"", job.Name, job.Timestamp, job.Success)
return fmt.Sprintf("Job { Name: \"%s\", Timestamp: \"%d\", Success: \"%t\" }", job.Name, job.Timestamp, job.Success)
}