From c5ec4331962a97e76924af8304d0a8d6144a6d1c Mon Sep 17 00:00:00 2001 From: Kenshi Muto Date: Sun, 5 Sep 2021 10:36:14 +0900 Subject: [PATCH] for Ruby <= 2.4 ver output --- test/test_pdfmaker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_pdfmaker.rb b/test/test_pdfmaker.rb index 61865e03f..64c80746f 100644 --- a/test/test_pdfmaker.rb +++ b/test/test_pdfmaker.rb @@ -181,7 +181,7 @@ def error!(msg) end error_msg = @maker.template_content assert_match(/template or configuration error:/, error_msg) - assert_match(/\(erb\):1:in `latex_config': undefined local variable or method `not_existed_method'/, error_msg) + assert_match(/undefined local variable or method `not_existed_method'/, error_msg) end end end