Skip to content

Commit

Permalink
More detailed spec for rbx failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Jan 7, 2016
1 parent e52dede commit f43b1f9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions spec/build/files/list_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,12 @@ module Build::Files::ListSpec
glob = Glob.new(__dir__, "*.rb")

paths = glob.with extension: ".txt"
path = paths.first

expect(paths.first[0]).to be == (glob.first)
expect(paths.first[1]).to be == (glob.first.append ".txt")
expect(path).to be_kind_of Array

expect(path[0]).to be == glob.first
expect(path[1]).to be == glob.first.append(".txt")
end

it "should define an empty set of files" do
Expand Down

0 comments on commit f43b1f9

Please sign in to comment.