From 3232b72205b8a56e07719cb234baf1fc64767cc1 Mon Sep 17 00:00:00 2001 From: Mark VanderVoord Date: Wed, 21 Feb 2024 14:58:23 -0500 Subject: [PATCH] fixed wrong quote usage. --- lib/cmock_header_parser.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cmock_header_parser.rb b/lib/cmock_header_parser.rb index d248a8bb..bf99cba3 100644 --- a/lib/cmock_header_parser.rb +++ b/lib/cmock_header_parser.rb @@ -364,9 +364,9 @@ def parse_functions(filename, source) if funcs.empty? case @when_no_prototypes when :error - raise 'ERROR: No function prototypes found by CMock in #{filename}' + raise "ERROR: No function prototypes found by CMock in #{filename}" when :warn - puts 'WARNING: No function prototypes found by CMock in #{filename}' unless @verbosity < 1 + puts "WARNING: No function prototypes found by CMock in #{filename}" unless @verbosity < 1 end end funcs