Skip to content

Commit

Permalink
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/java_integration/utilities/jar_glob_spec.rb
Original file line number Diff line number Diff line change
@@ -106,6 +106,9 @@ def jar_entries(full_entries)
# This should delete the /glob_target and /glob_target/bar.txt entries
`zip -d #{jar_path} glob_target/bar.txt`

# Explicitly touch the file in case mtime and zip don't agree
`touch #{jar_path}`

after = Dir.glob("#{jar_path}!/**/*").size

expect(after - before).to eq(-2)

0 comments on commit 4b1f4f4

Please sign in to comment.