Skip to content

Commit

Permalink
Fix up last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rogalski authored Sep 29, 2021
1 parent 03ae717 commit 9be409a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/darker/verification.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def is_equivalent_to_baseline(self, document: TextDocument) -> bool:
document_ast_str = "\n".join(stringify_ast(document_ast))
comparison = document_ast_str == self._baseline_ast_str

self._comparisons[document.string] = document_ast_str == self._baseline_ast_str
self._comparisons[document.string] = comparison
return self._comparisons[document.string]

def assert_equivalent_to_baseline(self, document: TextDocument) -> None:
Expand Down

0 comments on commit 9be409a

Please sign in to comment.