Skip to content

Commit

Permalink
Allow library to be used with frozen-string-literals enabled.
Browse files Browse the repository at this point in the history
For the tests to pass, this requires the use of the latest RSpec commits, along with submitted patches to simplecov-html and test-unit:
* simplecov-ruby/simplecov-html#56
* test-unit/test-unit#149
  • Loading branch information
pat committed Jun 22, 2017
1 parent 804b460 commit 3cd7f69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/simplecov/formatter/simple_formatter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module Formatter
class SimpleFormatter
# Takes a SimpleCov::Result and generates a string out of it
def format(result)
output = ""
output = "".dup
result.groups.each do |name, files|
output << "Group: #{name}\n"
output << "=" * 40
Expand Down
2 changes: 1 addition & 1 deletion lib/simplecov/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module SimpleCov
version = "0.14.1"
version = "0.14.1".dup

def version.to_a
split(".").map(&:to_i)
Expand Down

0 comments on commit 3cd7f69

Please sign in to comment.