(t *testing.T)
| 69 | } |
| 70 | |
| 71 | func TestFileExtension(t *testing.T) { |
| 72 | if FormatYAML.FileExtension() != "yaml" { |
| 73 | t.Error("FormatYAML.FileExtension() != yaml") |
| 74 | } |
| 75 | if FormatJSON.FileExtension() != "json" { |
| 76 | t.Error("FormatJSON.FileExtension() != json") |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | // TestMarshalDocJSON verifies MarshalDoc produces valid JSON. |
| 81 | func TestMarshalDocJSON(t *testing.T) { |
nothing calls this directly
no test coverage detected