diff --git a/spec/file_finder_helper_spec.rb b/spec/file_finder_helper_spec.rb index 329fad9a..cb0458cb 100644 --- a/spec/file_finder_helper_spec.rb +++ b/spec/file_finder_helper_spec.rb @@ -56,13 +56,13 @@ end it 'outputs a complaint if complain is warn' do - msg = 'WARNING: Found no file `d.c` in search paths.' + msg = 'Found no file `d.c` in search paths.' expect(@streaminator).to receive(:stream_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 = 'Found no file `d.c` in search paths.' allow(@streaminator).to receive(:stream_puts).with(msg, Verbosity::ERRORS) do expect{@ff_helper.find_file_in_collection('d.c', FILE_LIST, :warn)}.to raise_error end diff --git a/spec/tool_executor_helper_spec.rb b/spec/tool_executor_helper_spec.rb index 5fc20fd1..17e7c9b3 100644 --- a/spec/tool_executor_helper_spec.rb +++ b/spec/tool_executor_helper_spec.rb @@ -39,14 +39,14 @@ "\n".freeze ERROR_OUTPUT = - "ERROR: Shell command failed.\n" + + "Shell command failed.\n" + "> Shell executed command:\n" + "'gcc ab.c'\n" + "> And exited with status: [1].\n" + "\n" ERROR_OUTPUT_WITH_MESSAGE = - "ERROR: Shell command failed.\n" + + "Shell command failed.\n" + "> Shell executed command:\n" + "'gcc ab.c'\n" + "> Produced output:\n" +