зеркало из https://github.com/github/ruby.git
[ruby/rdoc] test/rdoc/test_rdoc_generator_json_index.rb: Use assert_equal instead of assert.
It's better because assert_equal prints the values when it fails. https://github.com/ruby/rdoc/commit/91d40ce8f8
This commit is contained in:
Родитель
3a21da9591
Коммит
674db715f5
|
@ -105,7 +105,7 @@ class TestRDocGeneratorJsonIndex < RDoc::TestCase
|
|||
generated_file = Pathname(File.join @tmpdir, 'js/navigation.js')
|
||||
|
||||
# This is dirty hack on JRuby
|
||||
assert orig_file.mtime.inspect == generated_file.mtime.inspect,
|
||||
assert_equal orig_file.mtime.inspect, generated_file.mtime.inspect,
|
||||
'.js files should be the same timestamp of original'
|
||||
|
||||
json = File.read 'js/search_index.js'
|
||||
|
|
Загрузка…
Ссылка в новой задаче