diff options
Diffstat (limited to 'test/unit/repository_darcs_test.rb')
-rw-r--r-- | test/unit/repository_darcs_test.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/unit/repository_darcs_test.rb b/test/unit/repository_darcs_test.rb index 2e16973c5..6d010cdf6 100644 --- a/test/unit/repository_darcs_test.rb +++ b/test/unit/repository_darcs_test.rb @@ -52,6 +52,12 @@ class RepositoryDarcsTest < ActiveSupport::TestCase assert_equal 6, @repository.changesets.count end + def test_entries_invalid_revision + @repository.fetch_changesets + @repository.reload + assert_nil @repository.entries('', '123') + end + def test_deleted_files_should_not_be_listed @repository.fetch_changesets @repository.reload |