Skip to content

Commit

Permalink
Update unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shemogumbe committed Aug 9, 2024
1 parent bc928d8 commit 30bcf0d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2086,7 +2086,7 @@ public void WritesNameMapperMethod()
});
writer.Write(method);
var result = tw.ToString();
Assert.Contains("if not original_name:", result);
Assert.Contains("if original_name is None:", result);
Assert.Contains("if original_name == \"select\":", result);
Assert.Contains("return \"%24select\"", result);
Assert.Contains("if original_name == \"expand\":", result);
Expand Down Expand Up @@ -2124,7 +2124,7 @@ public void WritesNameMapperMethodWithUnescapedProperties()
});
writer.Write(method);
var result = tw.ToString();
Assert.Contains("if not original_name:", result);
Assert.Contains("if original_name is None:", result);
Assert.Contains("if original_name == \"start_date_time\":", result);
Assert.Contains("return \"startDateTime\"", result);
Assert.Contains("return original_name", result);
Expand Down

0 comments on commit 30bcf0d

Please sign in to comment.