Skip to content

Commit

Permalink
fix: test assertion (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
zekth authored Aug 10, 2021
1 parent 32d2da7 commit c46c9e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/fastify-env.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ const tests = [
},
data: { },
isOk: false,
errorMessage: 'must have required property \'PORT\''
errorMessage: 'env must have required property \'PORT\''
},
{
name: 'simple object - invalid data',
Expand All @@ -243,7 +243,7 @@ const tests = [
},
data: [],
isOk: false,
errorMessage: 'must NOT have fewer than 1 items,must be object,must match exactly one schema in oneOf'
errorMessage: 'opts/data must NOT have fewer than 1 items, opts/data must be object, opts/data must match exactly one schema in oneOf'
}
]

Expand Down

0 comments on commit c46c9e2

Please sign in to comment.