Skip to content

Commit

Permalink
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions spec/java_integration/utilities/jar_glob_spec.rb
Original file line number Diff line number Diff line change
@@ -100,16 +100,12 @@ def jar_entries(full_entries)

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

puts File.mtime(jar_path)

# Need to sleep a little bit to make sure that modified time is updated
sleep 2

# This should delete the /glob_target and /glob_target/bar.txt entries
`zip -d #{jar_path} glob_target/bar.txt`

puts File.mtime(jar_path)

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

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

0 comments on commit 65a7e62

Please sign in to comment.