Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
baoyachi committed Jan 20, 2021
1 parent 5c8a8e4 commit 68fcb88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ mod tests {
for (k, v) in map {
println!("k:{},v:{:?}", k, v);
assert!(!v.desc.is_empty());
if !k.eq(TAG) || k.eq(BRANCH) {
if !k.eq(TAG) || !k.eq(BRANCH) {
assert!(!v.v.is_empty());
continue;
}
Expand Down

0 comments on commit 68fcb88

Please sign in to comment.