Fix test for token_fun option

The message was modified but not the testsuite.
This commit is contained in:
Jean-Sébastien Pédron 2011-10-18 16:45:16 +02:00
parent b04c7d4729
commit 040140a2c6

View File

@ -4,7 +4,7 @@
?_assertThrow(
{yaml_exception, [
{yaml_invalid_option,error,
"Invalid value for option \"token_fun\": it must be a function taking the parser state as its sole argument",
"Invalid value for option \"token_fun\": it must be a function taking the parser state as its sole argument, or the atom 'acc' or 'drop'",
{token_fun,invalid}}
]
},