Skip to content

Pairtree::Root.list doesn't work with 1-character directories #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
cbeer opened this issue Dec 14, 2012 · 0 comments
Open

Pairtree::Root.list doesn't work with 1-character directories #2

cbeer opened this issue Dec 14, 2012 · 0 comments

Comments

@cbeer
Copy link
Member

cbeer commented Dec 14, 2012

This works:

it "should be the list of directories in the vault" do
subject.pairtree.mk('abc')
subject.pairtree.mk('def')
subject.pairtree.mk('ghi')
subject.pairtree.mk('jkl')
subject.pairtree.mk('mno')
subject.count.should == 5 # subject starts out empty
end

This doesn't:

it "should be the list of directories in the vault" do
subject.pairtree.mk('1')
subject.pairtree.mk('2')
subject.pairtree.mk('3')
subject.pairtree.mk('4')
subject.pairtree.mk('5')
subject.count.should == 5 # subject starts out empty
end

aelkiss pushed a commit that referenced this issue Mar 28, 2023
Support for ruby 3.x; use standardrb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant