Skip to content

Commit

Permalink
Enable Buffer::processed tests again
Browse files Browse the repository at this point in the history
Rust issue #71397 (rust-lang/rust#71397) has
been resolved.
  • Loading branch information
Thomasdezeeuw committed Aug 21, 2020
1 parent 623a8b5 commit 9e7f515
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/buffer/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,15 +211,13 @@ fn buffer_reset() {

#[test]
#[should_panic(expected = "marking bytes as processed beyond read range")]
#[ignore = "problem in libbacktrace, see https://github.com/rust-lang/rust/issues/71397"]
fn marking_processed_beyond_read_range() {
let mut buf = Buffer::new();
buf.processed(1);
}

#[test]
#[should_panic(expected = "marking bytes as processed beyond read range")]
#[ignore = "problem in libbacktrace, see https://github.com/rust-lang/rust/issues/71397"]
fn marking_processed_beyond_read_range_after_reset() {
let mut buf = Buffer::new();

Expand Down Expand Up @@ -436,7 +434,6 @@ fn write_buffer_processed_original_empty() {

#[test]
#[should_panic(expected = "marking bytes as processed beyond read range")]
#[ignore = "problem in libbacktrace, see https://github.com/rust-lang/rust/issues/71397"]
fn marking_processed_write_buffer_beyond_read_range() {
let mut buf = Buffer::new();
let (original_bytes, mut wbuf) = buf.split_write(20);
Expand All @@ -446,7 +443,6 @@ fn marking_processed_write_buffer_beyond_read_range() {

#[test]
#[should_panic(expected = "marking bytes as processed beyond read range")]
#[ignore = "problem in libbacktrace, see https://github.com/rust-lang/rust/issues/71397"]
fn marking_processed_write_buffer_beyond_read_range_after_reset() {
let mut buf = Buffer::new();
let bytes = &[1, 2, 3];
Expand Down

0 comments on commit 9e7f515

Please sign in to comment.