mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-09-18 11:18:12 +00:00
Return group color if language has none
This commit is contained in:
@@ -142,6 +142,8 @@ func TestGetColor(t *testing.T) {
|
||||
}{
|
||||
{name: "TestGetColor_1", language: "Go", expected: "#00ADD8"},
|
||||
{name: "TestGetColor_2", language: "SomeRandom", expected: "#cccccc"},
|
||||
{name: "TestGetColor_3", language: "HTML", expected: "#e34c26"},
|
||||
{name: "TestGetColor_4", language: "HTML+PHP", expected: "#e34c26"},
|
||||
}
|
||||
|
||||
for _, test := range tests {
|
||||
|
Reference in New Issue
Block a user