mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Merge pull request #2663 from eikek/fix/2629-collect-output-default
Honor default value `true` for `collectOutput`
This commit is contained in:
@ -35,4 +35,13 @@ class AddonMetaTest extends CatsEffectSuite with TestLoggingConfig with Fixtures
|
||||
_ = assertEquals(meta, dummyAddonMeta)
|
||||
} yield ()
|
||||
}
|
||||
|
||||
test("parse yaml with defaults") {
|
||||
val yamlStr = """meta:
|
||||
| name: "test"
|
||||
| version: "0.1.0"
|
||||
|""".stripMargin
|
||||
val meta = AddonMeta.fromYamlString(yamlStr).fold(throw _, identity)
|
||||
assert(meta.parseResult)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user