(t *testing.T)
| 384 | } |
| 385 | |
| 386 | func TestLoadTheme_EmptyRef_Error(t *testing.T) { |
| 387 | t.Parallel() |
| 388 | |
| 389 | // LoadTheme("") should return an error - caller should pass a valid ref |
| 390 | _, err := LoadTheme("") |
| 391 | require.Error(t, err) |
| 392 | assert.Contains(t, err.Error(), "empty ref") |
| 393 | } |
| 394 | |
| 395 | func TestValidateThemeRef(t *testing.T) { |
| 396 | t.Parallel() |