Skip to content
Browse files

Improve test pass condition

Signed-off-by: Brandon Low <lostlogic@lostlogicx.com>
  • Loading branch information...
1 parent b909734 commit f7b6a9abdcbec4b82d6fdd4962a79172cedae3ed Brandon Low committed with apenwarr Jan 3, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/bup/t/tgit.py
View
6 lib/bup/t/tgit.py
@@ -109,8 +109,8 @@ def test_long_index():
r = w._write_pack_idx_v2(f, idx, pack_bin)
f.seek(0)
i = git.PackIdxV2(name, f)
- WVPASS(i.find_offset(obj_bin)==0xfffffffff)
- WVPASS(i.find_offset(obj2_bin)==0xffffffffff)
- WVPASS(i.find_offset(obj3_bin)==0xff)
+ WVPASSEQ(i.find_offset(obj_bin), 0xfffffffff)
+ WVPASSEQ(i.find_offset(obj2_bin), 0xffffffffff)
+ WVPASSEQ(i.find_offset(obj3_bin), 0xff)
f.close()
os.remove(name)

0 comments on commit f7b6a9a

Please sign in to comment.
Something went wrong with that request. Please try again.