(t *testing.T)
| 8 | ) |
| 9 | |
| 10 | func TestAvailableLabels(t *testing.T) { |
| 11 | reg := testRegistry() |
| 12 | |
| 13 | t.Run("should be same order as declared", func(t *testing.T) { |
| 14 | labels := registry.AvailableLabels(reg) |
| 15 | assert.Equal(t, labels, []string{ |
| 16 | "EKS + Go + React + Gatsby", |
| 17 | "foo", |
| 18 | "bar", |
| 19 | "lorem", |
| 20 | "ipsum", |
| 21 | "Custom", |
| 22 | }) |
| 23 | }) |
| 24 | } |
| 25 | |
| 26 | func TestGetModulesByName(t *testing.T) { |
| 27 | reg := testRegistry() |
nothing calls this directly
no test coverage detected