Codebase list rust-stfu8 / a95594c
derive-builder-core - adjust test so it will pass in both unstable and testing Peter Michael Green 2 years ago
2 changed file(s) with 14 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
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
09 rust-derive-builder-core (0.9.0-3) unstable; urgency=medium
110 * d/patches: add fix_test.patch, fixing an autopkgtest regression
211 with more recent rust-syn package version.
00 Author: Andrey Kutejko <andy128k@gmail.com>
11 Origin: https://github.com/colin-kiegel/rust-derive-builder/pull/205/
22 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
37 ---
48 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
59 --- a/src/block.rs
913
1014 #[test]
1115 - #[should_panic(expected = r#"LexError"#)]
12 + #[should_panic(expected = r#"lex error"#)]
16 + #[should_panic(expected = r#"ex"#)]
1317 fn block_invalid_token_trees() {
1418 Block::from_str("let x = 2; { x+1").unwrap();
1519 }