Skip to content

Commit fbdc0ab

Browse files
committed
Correct the test assertion for history deletion
1 parent ef3bb37 commit fbdc0ab

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pubnub-hyper/tests/history.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,7 @@ fn delete_history() {
188188
})
189189
.await
190190
.unwrap();
191-
assert_eq!(channels.len(), 1);
192-
193-
let test_channel_messages = &channels[&test_channel];
194-
assert_eq!(test_channel_messages.len(), 0);
191+
assert_eq!(channels.len(), 0);
195192
}
196193
});
197194
}

0 commit comments

Comments
 (0)