derive-builder-core - adjust test so it will pass in both unstable and testing
Peter Michael Green
2 years ago
|
0 |
rust-derive-builder-core (0.9.0-4) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
|
|
1 |
|
|
2 |
* Team upload.
|
|
3 |
* Package derive_builder_core 0.9.0 from crates.io using debcargo 2.4.4
|
|
4 |
* Adjust fix_test.patch so it will work with both versions 1.0.12
|
|
5 |
and 1.0.76 of the syn crate.
|
|
6 |
|
|
7 |
-- Peter Michael Green <plugwash@debian.org> Thu, 21 Oct 2021 09:15:18 +0000
|
|
8 |
|
0 | 9 |
rust-derive-builder-core (0.9.0-3) unstable; urgency=medium
|
1 | 10 |
* d/patches: add fix_test.patch, fixing an autopkgtest regression
|
2 | 11 |
with more recent rust-syn package version.
|
0 | 0 |
Author: Andrey Kutejko <andy128k@gmail.com>
|
1 | 1 |
Origin: https://github.com/colin-kiegel/rust-derive-builder/pull/205/
|
2 | 2 |
Description: Fix a test faillure following a change on the syn crate.
|
|
3 |
Original patch modified by Peter Michael Green to work with both
|
|
4 |
versions 1.0.12 and 1.0.76 of the syn crate. Unfortunately this means
|
|
5 |
that the match string is rather short, which may lead to false positives.
|
|
6 |
|
3 | 7 |
---
|
4 | 8 |
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
5 | 9 |
--- a/src/block.rs
|
|
9 | 13 |
|
10 | 14 |
#[test]
|
11 | 15 |
- #[should_panic(expected = r#"LexError"#)]
|
12 | |
+ #[should_panic(expected = r#"lex error"#)]
|
|
16 |
+ #[should_panic(expected = r#"ex"#)]
|
13 | 17 |
fn block_invalid_token_trees() {
|
14 | 18 |
Block::from_str("let x = 2; { x+1").unwrap();
|
15 | 19 |
}
|