Skip to content
This repository
Browse code

Moving empty file for tests into the assets directory.

  • Loading branch information...
commit c840deece01df124a076f27d7cad81dc3e2dd990 1 parent dd1dd11
Mike Dalessio flavorjones authored
1  .gitignore
@@ -32,4 +32,3 @@ test/*_mini.rb
32 32 test/test_jruby_footer.rb
33 33 test/test_jruby_header.rb
34 34 tmp
35   -bogus.xml
0  test/files/bogus.xml
No changes.
3  test/html/sax/test_parser.rb
@@ -17,8 +17,7 @@ def test_parse_empty_document
17 17
18 18 def test_parse_empty_file
19 19 # Make sure empty files don't break stuff
20   - empty_file_name = File.join(Dir.tmpdir, 'bogus.xml')
21   - FileUtils.touch empty_file_name
  20 + empty_file_name = File.join(ASSETS_DIR, 'bogus.xml')
22 21 # assert_nothing_raised do
23 22 @parser.parse_file empty_file_name
24 23 # end

0 comments on commit c840dee

Please sign in to comment.
Something went wrong with that request. Please try again.