Skip to content

Commit

Permalink
Add logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Aug 5, 2024
1 parent 21e2295 commit e97b6ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
- uses: pkl-community/setup-pkl@v0
with:
pkl-version: 0.26.2
- run: pkl --version
- name: Run tests
run: cargo test --workspace
if: ${{ runner.os != 'Windows' }}
Expand Down
4 changes: 4 additions & 0 deletions crates/schematic/tests/errors_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ mod pkl {
.err()
.unwrap();

println!("{}", error.to_full_string());

assert!(predicate::str::contains(
"setting: invalid type: integer `123`, expected a boolean"
)
Expand All @@ -78,6 +80,8 @@ mod pkl {
.err()
.unwrap();

println!("{}", error.to_full_string());

assert!(predicate::str::contains(
"nested.setting: invalid type: integer `123`, expected a boolean"
)
Expand Down

0 comments on commit e97b6ac

Please sign in to comment.