Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rocketraman committed Apr 1, 2024
1 parent decaf99 commit adb79d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class ErrorTests : StringSpec({
- 'wrongType': Required type Boolean could not be decoded from a Long value: 123 (classpath:/error1.json:2:19)
- 'whereAmI': Missing from config
- 'whereAmI': Missing String from config
- 'notnull': Type defined as not-null but null was loaded from config (classpath:/error1.json:6:18)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,22 @@ class CollectionErrorTests : StringSpec({
- Could not instantiate 'com.sksamuel.hoplite.yaml.Parser' because:
- 'id': Missing from config
- 'id': Missing String from config
- Could not instantiate 'com.sksamuel.hoplite.yaml.Supplier' because:
- 'parsers': Collection element decode failure (classpath:/collections_error.yaml:10:7):
- Could not instantiate 'com.sksamuel.hoplite.yaml.Parser' because:
- 'id': Missing from config
- 'id': Missing String from config
- Could not instantiate 'com.sksamuel.hoplite.yaml.Supplier' because:
- 'parsers': Collection element decode failure (classpath:/collections_error.yaml:16:7):
- Could not instantiate 'com.sksamuel.hoplite.yaml.Parser' because:
- 'id': Missing from config"""
- 'id': Missing String from config"""
}
})

0 comments on commit adb79d5

Please sign in to comment.