Skip to content

Commit

Permalink
d
Browse files Browse the repository at this point in the history
  • Loading branch information
sibnavi committed Nov 18, 2024
1 parent 8f7dd86 commit 077c4d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gendiff/formatters/plain_format.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
def format_value(value):
if isinstance(value, dict):
return '[complex value]'
if value == 'false' or value == 'true' or value == 'null':
if value == 'false' or value == 'true' or value == 'null' or type(value) is int: # noqa
return value
else:
return f"'{value}'"
Expand Down

0 comments on commit 077c4d2

Please # to comment.