vole
Clone
Read only, no credentials:
https://rodent.software/vole.git
Write over SSH with a registered key:
git clone ssh://git@rodent.software:2222/vole.git
A free and open-source forge that lives in your Git repo.
| 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 | } |
| 15 |