Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
protochron committed Mar 8, 2023
1 parent 9756ffa commit fd7a387
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/aws/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ mod tests {
profile,
} => {
assert_eq!(&credentials_file, "/path/to/file");
assert_eq!(&profile.unwrap(), "foo");
assert_eq!(&profile, "foo");
}
_ => panic!(),
}
Expand All @@ -429,7 +429,7 @@ mod tests {
profile,
} => {
assert_eq!(&credentials_file, "/path/to/file");
assert_eq!(profile, None);
assert_eq!(profile, "default".to_string());
}
_ => panic!(),
}
Expand Down

0 comments on commit fd7a387

Please sign in to comment.