Added tests for job package
This commit is contained in:
parent
c84817132d
commit
88757ef736
4 changed files with 54 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue