diff options
| -rw-r--r-- | lib/colonial_twilight/fln_bot_rules.rb | 2 | ||||
| -rw-r--r-- | spec/fln_bot_rules_spec.rb | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/lib/colonial_twilight/fln_bot_rules.rb b/lib/colonial_twilight/fln_bot_rules.rb index 4fc6347..f5e02d9 100644 --- a/lib/colonial_twilight/fln_bot_rules.rb +++ b/lib/colonial_twilight/fln_bot_rules.rb @@ -7,7 +7,7 @@ module ColonialTwilight        return if @debug.zero?        case @debug -      when 1 then puts "  #{msg} : YES" if ret +      when 1 then puts "  #{msg}" if ret        else puts "  #{msg} : #{ret ? 'YES' : 'NO'}"        end      end diff --git a/spec/fln_bot_rules_spec.rb b/spec/fln_bot_rules_spec.rb index 0004d7a..78148c8 100644 --- a/spec/fln_bot_rules_spec.rb +++ b/spec/fln_bot_rules_spec.rb @@ -47,7 +47,7 @@ describe ColonialTwilight::FLNBotRules do    describe 'Debug' do      it 'level 1' do        @rules.debug = 1 -      expect { @rules.dbg('msg', true) }.to output("  msg : YES\n").to_stdout +      expect { @rules.dbg('msg', true) }.to output("  msg\n").to_stdout      end      it 'level 2' do | 
