提交 ec0c2d53 编写于 作者: J Justin Collins

Add tests for Warning#relative_path

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