Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
diffoscope
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Reproducible Builds
diffoscope
Commits
1bb51831
Commit
1bb51831
authored
2 years ago
by
Chris Lamb
Browse files
Options
Downloads
Patches
Plain Diff
Rename order1.diff to json_expected_ordering_diff.
parent
7f0407a1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#445787
failed
2 years ago
Stage: test
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/comparators/test_json.py
+1
-1
1 addition, 1 deletion
tests/comparators/test_json.py
tests/data/json_expected_ordering_diff
+0
-0
0 additions, 0 deletions
tests/data/json_expected_ordering_diff
with
1 addition
and
1 deletion
tests/comparators/test_json.py
+
1
−
1
View file @
1bb51831
...
...
@@ -59,4 +59,4 @@ def test_compare_non_existing(monkeypatch, json1):
def
test_ordering_differences
(
json3a
,
json3b
):
diff
=
json3a
.
compare
(
json3b
)
assert
diff
.
details
[
0
].
comments
==
[
"
Ordering differences only
"
]
assert_diff
(
diff
.
details
[
0
],
"
order
1.
diff
"
)
assert_diff
(
diff
.
details
[
0
],
"
json_expected_
order
ing_
diff
"
)
This diff is collapsed.
Click to expand it.
tests/data/order
1.
diff
→
tests/data/
json_expected_
order
ing_
diff
+
0
−
0
View file @
1bb51831
File moved
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment