#1555 - Support .yaml extension (in addition to the existing .yml extension) for application.yaml and application-test.yaml

This commit is contained in:
rob bygrave
2018-11-20 11:45:45 +13:00
parent 426c6c8111
commit ecf5b56652
5 changed files with 8 additions and 6 deletions
@@ -17,7 +17,7 @@ public class LoaderTest {
Loader loader = new Loader();
loader.loadProperties("test-properties/application.properties", Loader.Source.RESOURCE);
loader.loadYaml("test-properties/application.yml", Loader.Source.RESOURCE);
loader.loadYaml("test-properties/application.yaml", Loader.Source.RESOURCE);
loader.loadProperties("test-properties/one.properties", Loader.Source.RESOURCE);
loader.loadYaml("test-properties/foo.yml", Loader.Source.RESOURCE);