From 040140a2c6e939729b694bbd08842cc03a48b949 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-S=C3=A9bastien=20P=C3=A9dron?= Date: Tue, 18 Oct 2011 16:45:16 +0200 Subject: [PATCH] Fix test for token_fun option The message was modified but not the testsuite. --- testsuite/data/parsing/option_token_fun_invalid.pattern | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuite/data/parsing/option_token_fun_invalid.pattern b/testsuite/data/parsing/option_token_fun_invalid.pattern index 5275954..9122df3 100644 --- a/testsuite/data/parsing/option_token_fun_invalid.pattern +++ b/testsuite/data/parsing/option_token_fun_invalid.pattern @@ -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}} ] },