test/test_node_factory.rb in mercurial-ruby-0.7.7 vs test/test_node_factory.rb in mercurial-ruby-0.7.8

- old
+ new

@@ -65,17 +65,17 @@ entries.size.must_equal 3 entries.each {|e| e.must_be_kind_of Mercurial::Node } entries.map(&:name).sort.must_equal %w(another-boring-file something.csv subdirectory/).sort entries.map(&:parent).uniq.must_equal [node] - entries[0].directory?.must_equal true - entries[0].file?.must_equal false - + entries[0].file?.must_equal true + entries[0].directory?.must_equal false + entries[1].file?.must_equal true entries[1].directory?.must_equal false - entries[2].file?.must_equal true - entries[2].directory?.must_equal false + entries[2].directory?.must_equal true + entries[2].file?.must_equal false end it "should find entries for tip revision" do node = @repository.nodes.find('new-directory/subdirectory') entries = node.entries \ No newline at end of file