Skip to content

Commit

Permalink
- UT fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
jczaja committed Mar 24, 2024
1 parent 9372c37 commit 014539a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/de.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ impl etradeTaxReturnHelper::Residency for DE {
#[cfg(test)]
mod tests {
use super::*;
use etradeTaxReturnHelper::Residency;

#[test]
fn test_present_result_de() -> Result<(), String> {
let rd: Box<dyn etradeTaxReturnHelper::Residency> = Box::new(DE {});
Expand Down Expand Up @@ -111,7 +113,7 @@ mod tests {
None,
);

let rd: Box<dyn etradeTaxReturnHelper::Residency> = Box::new(crate::de::DE {});
let rd: DE = DE {};
rd.get_exchange_rates(&mut dates).map_err(|x| "Error: unable to get exchange rates. Please check your internet connection or proxy settings\n\nDetails:".to_string()+x.as_str())?;

let mut expected_result: std::collections::HashMap<
Expand Down

0 comments on commit 014539a

Please sign in to comment.