Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix hash tests

  • Loading branch information...
commit 39ac0d4e9e781b4ed5742a982e5f04f9e8b5dec5 1 parent b0443c2
Steven Haryanto (on Asus Zenbook) authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 devscripts/gen-type-spectest
View
6 devscripts/gen-type-spectest
@@ -1118,11 +1118,11 @@ sub gen_hash_tests {
reject => [1, "a", []],
),
gen_BaseType_tests(
- value => {},
+ value => {a=>1},
ok_defaults => [{}],
nok_defaults => ["a"],
- ok_clauses => [[min_len=>0], [max_len=>1]],
- nok_clauses => [[min_len=>1], [max_len=>0]],
+ ok_clauses => [[min_len=>1], [max_len=>1]],
+ nok_clauses => [[min_len=>2], [max_len=>0]],
),
gen_err_level_tests(
clause => 'is',
Please sign in to comment.
Something went wrong with that request. Please try again.