spec/unit/mutant/reporter/cli/printer/subject_result_spec.rb in mutant-0.8.16 vs spec/unit/mutant/reporter/cli/printer/subject_result_spec.rb in mutant-0.8.17

- old
+ new

@@ -1,22 +1,24 @@ +# frozen_string_literal: true + RSpec.describe Mutant::Reporter::CLI::Printer::SubjectResult do setup_shared_context let(:reportable) { subject_a_result } describe '.call' do context 'on full coverage' do - it_reports <<-'STR' + it_reports <<~'STR' subject-a - test-a STR end context 'on partial coverage' do with(:mutation_a_test_result) { { passed: true } } - it_reports <<-'STR' + it_reports <<~'STR' subject-a - test-a evil:subject-a:d27d2 @@ -1,2 +1,2 @@ -true @@ -26,10 +28,10 @@ end context 'without results' do with(:subject_a_result) { { mutation_results: [] } } - it_reports <<-'STR' + it_reports <<~'STR' subject-a - test-a STR end end