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

Move diff_test.go to v1 #82

Merged
merged 1 commit into from
Dec 22, 2024
Merged

Move diff_test.go to v1 #82

merged 1 commit into from
Dec 22, 2024

Conversation

dsnet
Copy link
Collaborator

@dsnet dsnet commented Dec 21, 2024

The diff_test.go suite of tests check for expected differences between v1 and v2. In some ways, they are higher fidelity tests for v1 behavior than the v1 tests themselves.

Modify diff_test.go to use the emulated v1 implementation and skip the tests are currently failing.

The diff_test.go suite of tests check for expected differences
between v1 and v2. In some ways, they are higher fidelity tests
for v1 behavior than the v1 tests themselves.

Modify diff_test.go to use the emulated v1 implementation
and skip the tests are currently failing.
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package json_test
package json
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I might prefer to use external test packages in general or by default, but I don't hold that strongly.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, I lose access to the private knownTestFailure function. We can fix this after the work is done.

@dsnet dsnet merged commit 5815faa into master Dec 22, 2024
8 checks passed
@dsnet dsnet deleted the move-diff-test branch December 22, 2024 00:30
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 this pull request may close these issues.

2 participants