(name string)
| 32 | } |
| 33 | |
| 34 | func (fsys *blockingThemeFS) ReadFile(name string) ([]byte, error) { |
| 35 | if name == "themes/nord.yaml" { |
| 36 | fsys.once.Do(func() { |
| 37 | close(fsys.opened) |
| 38 | <-fsys.release |
| 39 | }) |
| 40 | } |
| 41 | return fs.ReadFile(fsys.MapFS, name) |
| 42 | } |
| 43 | |
| 44 | // TestRegisterBuiltinThemes_Integration exercises the full embedder loop: |
| 45 | // register a theme from a real embed.FS, then discover, load, and apply it the |
no test coverage detected