Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Clone

Read only, no credentials:

https://rodent.software/git/vole.git

Write over SSH with a registered key:

git clone ssh://git@0.0.0.0:2222/vole.git

A free and open-source forge that lives in your Git repo.

Blame · metadata/collections_test.go

Line attribution on main · 14 line(s)

c5902451
Keenan Nemetz
16d ago
1 package metadata
2
3 import (
4 "reflect"
5 "testing"
6 )
7
8 func TestNormalizeLabels(t *testing.T) {
9 got := NormalizeLabels([]string{"bug,ui", " perf ", ""})
10 want := []string{"bug", "perf", "ui"}
11 if !reflect.DeepEqual(got, want) {
12 t.Fatalf("labels = %v, want %v", got, want)
13 }
14 }