Skip to content

Commit

Permalink
Add error value for non-property test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason King committed Feb 12, 2020
1 parent 9d4f7d6 commit 5ebc78e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ pos_props["a:prop"] = {"hello"}

-- For neg_props, an optional expected error value can be added after the
-- property value as seen below.
neg_props["notaproperty"] = {"hello"}
neg_props["notaproperty"] = {"hello", EINVAL}
neg_props["a:very.long.property.value"] = { largepropv, E2BIG }
neg_props[largepropnamev] = {"greetings", ENAMETOOLONG }

Expand Down

0 comments on commit 5ebc78e

Please sign in to comment.