Skip to content

Commit

Permalink
Fix a test (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
andy128k committed Apr 20, 2021
1 parent 9d2ee6f commit 7bea88f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion derive_builder_core/Cargo.toml
Expand Up @@ -20,7 +20,7 @@ clippy = []
darling = "0.12.0"
proc-macro2 = "1.0.24"
quote = "1.0.8"
syn = { version = "1.0.58", features = ["full", "extra-traits"] }
syn = { version = "1.0.69", features = ["full", "extra-traits"] }

[dev-dependencies]
pretty_assertions = "0.6.1"
2 changes: 1 addition & 1 deletion derive_builder_core/src/block.rs
Expand Up @@ -67,7 +67,7 @@ mod test {
use super::*;

#[test]
#[should_panic(expected = r#"LexError"#)]
#[should_panic(expected = r#"lex error"#)]
fn block_invalid_token_trees() {
Block::from_str("let x = 2; { x+1").unwrap();
}
Expand Down

0 comments on commit 7bea88f

Please sign in to comment.