Skip to content

Commit

Permalink
Give better name for the local variable
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-g authored Sep 21, 2023
1 parent 236d11c commit c2af6d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lang/rust/avro/src/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5955,7 +5955,7 @@ mod tests {
let schema = Schema::parse_str(schema_str)?;
let expected = vec![Alias::new("ns1.fx1")?, Alias::new("ns2.fx2")?];
match schema.aliases() {
Some(s) => assert_eq!(s, &expected),
Some(aliases) => assert_eq!(aliases, &expected),
None => panic!("Expected Some({:?}), got None", expected),
}

Expand Down

0 comments on commit c2af6d2

Please sign in to comment.