mirror of
https://github.com/goharbor/harbor.git
synced 2025-04-04 11:06:00 +02:00
17 lines
175 B
Go
17 lines
175 B
Go
package task
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestScanAllTask(t *testing.T) {
|
|
tk := NewScanAllTask()
|
|
if tk == nil {
|
|
t.Fail()
|
|
}
|
|
|
|
if tk.Name() != "scan all" {
|
|
t.Fail()
|
|
}
|
|
}
|