提交 8abad661 编写于 作者: J Justin Collins

Fix line and user_input output in to_test.rb

上级 ed98853e
......@@ -54,11 +54,11 @@ class #{name}Tests < Test::Unit::TestCase
:warning_code => #{w.warning_code},
:fingerprint => #{w.fingerprint.inspect},
:warning_type => #{w.warning_type.inspect},
#{w.line ? ":line => " : "#noline"}#{w.line},
:line => #{w.line.inspect},
:message => /^#{Regexp.escape w.message[0,40]}/,
:confidence => #{w.confidence},
:relative_path => #{w.relative_path.inspect},
:user_input => #{w.user_input}
:user_input => #{w.user_input.inspect}
end
RUBY
end.join("\n")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册