mirror of
https://tangled.org/evan.jarrett.net/at-container-registry
synced 2026-09-02 08:16:57 +00:00
13 lines
301 B
Go
13 lines
301 B
Go
package labeler
|
|
|
|
import "testing"
|
|
|
|
func TestConfig_PublicURL(t *testing.T) {
|
|
cfg := &Config{
|
|
Labeler: LabelerConfig{PublicURL: "https://labeler.atcr.io"},
|
|
}
|
|
if got := cfg.PublicURL(); got != "https://labeler.atcr.io" {
|
|
t.Errorf("PublicURL() = %q, want %q", got, "https://labeler.atcr.io")
|
|
}
|
|
}
|