-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Description
Hi,
First of all congratulations on the new plugin!
I took it for a spin and in general it works great, I've found that when there's a difference in both sides of the diff the color is reset to white in some places:
It seems only the X
and i
characters in Xforce
and iforce
should be in yellow and the rest in red, to highlight the difference?
I'm using the code from one of your tests, slightly modfied:
def test():
one = {
'currency': 'USD',
'default_UK_warehouse': 'Xforce',
'default_incoterm': 'EXW',
'name': 'John Doe',
'payment_term': '30% deposit, 70% balance',
'reference': '42551456-a1b3-49bd-beed-b168d9a5ac83',
'website': 'http://megasofas.example.com',
'main_contact': {
'city': 'Madeira',
'country': 'PT',
'email': 'example@example.com',
'fax': '012356 789039',
'mobile': '012356 789039',
'name': 'Almeida & Filhos - Example, S.A.',
'phone': '253444802010',
'postcode': '4815-123',
'street': "Senhora Test D'Ajuda, 432",
'street2': 'Moreira de Conegos'
},
}
two = {
'currency': 'USD',
'default_UK_warehouse': 'iforce',
'default_incoterm': 'EXW',
'freight_forwarder': 'flexport',
'name': 'John Doe',
'payment_term': '30% deposit, 70% balance',
'reference': '42551456-a1b3-49bd-beed-b168d9a5ac83',
'website': 'http://megasofas.example.com',
'main_contact': {
'name': 'Almeida & Filhos - Example, S.A.',
'email': 'example@example.com',
'street': "Senhora Test D'Ajuda, 432",
'street2': 'Moreira de Conegos',
'postcode': '4815-123',
'city': 'Madeira',
'country': 'PT',
'phone': '253444802010',
'fax': '012356 789039',
'mobile': '012356 789039'
}
}
assert one == two
Thanks!
Metadata
Metadata
Assignees
Labels
No labels