free_mutant/test_app/lib/test_app/literal.rb
2014-05-27 15:16:37 +00:00

34 lines
392 B
Ruby

# encoding: utf-8
module TestApp
# Class for integration testing literal mutations
class Literal
def boolean
true
end
def command(_foo)
self
end
def string
'string'
end
def uncovered_string
'string'
end
def self.string
'string'
end
def symbol
:symbol
end
def float
2.4
end
end
end