Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add spectest for clause: unknown clause

  • Loading branch information...
commit a2c2633df3f2bbfb2744fff89bdd82fb305630d7 1 parent d8b7c01
Steven Haryanto (on Asus Zenbook) authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 devscripts/gen-type-spectest
6 devscripts/gen-type-spectest
View
@@ -127,6 +127,12 @@ sub gen_BaseType_tests {
# clause
push @res, {
+ name => "clause (nok, unknown clause)",
+ input => $args{value},
+ schema => ["$Type*", clause=>"foo"],
+ dies => 1,
+ };
+ push @res, {
name => "clause (ok)",
input => $args{value},
schema => ["$Type*", clause=>$args{ok_clauses}[0]],
Please sign in to comment.
Something went wrong with that request. Please try again.