Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

odg diff creates weird output #48

Open
sveinse opened this issue Sep 18, 2024 · 0 comments · May be fixed by #56
Open

odg diff creates weird output #48

sveinse opened this issue Sep 18, 2024 · 0 comments · May be fixed by #56

Comments

@sveinse
Copy link
Member

sveinse commented Sep 18, 2024

Using odg diff creates strange output:

$ odg diff tests/od/slave-ds302.json tests/od/slave-emcy.json
odg: 'tests/od/slave-ds302.json' and 'tests/od/slave-emcy.json' differ
Changes:
<< - >> ['description'] value changed from 'Slave with DS-302' to 'Slave with emergency support'
    >>> ['@@"0x1014"  // 4116@@'] only in RIGHT
<<<     ['@@"0x1F20"  // 7968@@'] only in LEFT
<<<     ['@@"0x1F21"  // 7969@@'] only in LEFT
<<<     ['@@"0x1F22"  // 7970@@'] only in LEFT
<<<     ['@@"0x1F50"  // 8016@@'] only in LEFT
<<<     ['@@"0x1F51"  // 8017@@'] only in LEFT
<<<     ['@@"0x1F52"  // 8018@@'] only in LEFT
<<<     ['@@"0x1F53"  // 8019@@'] only in LEFT
<<<     ['@@"0x1F55"  // 8021@@'] only in LEFT

The @@ format is the internal format used for making jsonc comments.

@sveinse sveinse linked a pull request Nov 8, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant