1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
Description: Fix ambiguous assert_eq import in structure_strings test
Drop pretty_assertions::assert_eq from the test that also imports
std::prelude::v1::*, which causes an ambiguous name error.
Upstream fixed this differently in commit
31f7642ea8116a86ce13e937edbe045a0e89b71d, but that commit changes too
much between 1.0.0 and HEAD to cherry-pick cleanly
Author: Nadzeya Hutsko <nadzya.info@gmail.com>
Forwarded: not-needed
Last-Update: 2026-03-23
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -918,7 +918,6 @@
#[test]
fn structure_strings() {
- use pretty_assertions::assert_eq;
use std::prelude::v1::*;
let regular_bytes = &[65, 66, 67, 0, 68, 69, 0, 70, 0, 71, 72, 73, 0, 0];
|