From 03aa607979e6083779bed4053b1eab3ab5411c6d Mon Sep 17 00:00:00 2001 From: Mike Karlesky Date: Wed, 27 Dec 2023 22:41:44 -0500 Subject: [PATCH] Test fixes --- spec/file_finder_helper_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/file_finder_helper_spec.rb b/spec/file_finder_helper_spec.rb index 9652be8d..a2c34abb 100644 --- a/spec/file_finder_helper_spec.rb +++ b/spec/file_finder_helper_spec.rb @@ -49,13 +49,13 @@ end it 'outputs a complaint if complain is warn' do - msg = 'WARNING: Found no file \'d.c\' in search paths.' + msg = 'WARNING: Found no file d.c in search paths.' expect(@streaminator).to receive(:stderr_puts).with(msg, Verbosity::COMPLAIN) @ff_helper.find_file_in_collection('d.c', FILE_LIST, :warn) end it 'outputs and raises an error if complain is error' do - msg = 'ERROR: Found no file \'d.c\' in search paths.' + msg = 'ERROR: Found no file d.c in search paths.' allow(@streaminator).to receive(:stderr_puts).with(msg, Verbosity::ERRORS) do expect{@ff_helper.find_file_in_collection('d.c', FILE_LIST, :warn)}.to raise_error end