Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
lpil committed Jan 16, 2024
1 parent d8326d8 commit e8efc57
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions test/gleam/pgo_test.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -330,9 +330,13 @@ pub fn expected_argument_type_test() {
pub fn expected_return_type_test() {
let db = start_default()
pgo.execute("select 1", db, [], dynamic.element(0, dynamic.string))
|> should.equal(Error(pgo.UnexpectedResultType([
dynamic.DecodeError(expected: "String", found: "Int", path: ["0"]),
])))
|> should.equal(
Error(
pgo.UnexpectedResultType([
dynamic.DecodeError(expected: "String", found: "Int", path: ["0"]),
]),
),
)

pgo.disconnect(db)
}

0 comments on commit e8efc57

Please sign in to comment.