test/unit/ut_16_parser.rb in ruote-2.1.6 vs test/unit/ut_16_parser.rb in ruote-2.1.7
- old
+ new
@@ -54,10 +54,10 @@
["define", {"name"=>"nada"}, [
["sequence", {}, [["alpha", {}, []], ["bravo", {}, []]]]
]],
tree)
- File.delete(fn) # sooner or later, it will get erased
+ FileUtils.rm_f(fn) # sooner or later, it will get erased
end
def test_to_xml
#puts Ruote::Parser.to_xml(TREE1, :indent => 2)