From 34efb3478907a3f46a34b3c2b5d50f6bda532c66 Mon Sep 17 00:00:00 2001 From: Kenshi Muto Date: Sun, 11 Aug 2019 12:03:16 +0900 Subject: [PATCH] remove review-ext.rb entry from test (it is already fixed in #1353) --- lib/review/idgxmlmaker.rb | 2 +- samples/syntax-book/review-ext.rb | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/lib/review/idgxmlmaker.rb b/lib/review/idgxmlmaker.rb index bbd3a2097..2c48ac1ca 100644 --- a/lib/review/idgxmlmaker.rb +++ b/lib/review/idgxmlmaker.rb @@ -45,7 +45,7 @@ def parse_opts(args) @table = nil @filter = nil - opts.banner = 'Usage: review-idgxmlmaker configfile' + opts.banner = 'Usage: review-idgxmlmaker [options] configfile' opts.version = ReVIEW::VERSION opts.on('-w', '--width widthoftypepage', 'Specify the width of type page for layouting tables (mm).') { |v| @table = v } opts.on('-f', '--filter filterprogrampath', 'Specify the filter path.') { |v| @filter = v } diff --git a/samples/syntax-book/review-ext.rb b/samples/syntax-book/review-ext.rb index eae331b58..59b1e7dbc 100644 --- a/samples/syntax-book/review-ext.rb +++ b/samples/syntax-book/review-ext.rb @@ -11,16 +11,4 @@ def inline_balloon(str) %Q(←#{escape(str)}) end end - class IDGXMLBuilder - Compiler.definline(:strong) - Compiler.definline(:em) - - def inline_strong(str) - str - end - - def inline_em(str) - str - end - end end