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

Check for duplicate test names #93

Merged

Conversation

Marcono1234
Copy link
Contributor

Inspired by #36 (comment)

Due to copy & paste errors there were already duplicate names in selectors.json, see changes below.

Not sure if the change in build.js clean enough, please let me know if I should change it in some way.

@Marcono1234 Marcono1234 force-pushed the duplicate-test-names branch from d8db613 to 54e80d6 Compare August 4, 2024 18:33
@gregsdennis
Copy link
Collaborator

Can you split the changes so that we can see the build fail? Put the name check on the first commit, and let it build. Then come back and fix the test names, which should let the build pass.

build.js Outdated Show resolved Hide resolved
build.js Outdated Show resolved Hide resolved
build.js Outdated Show resolved Hide resolved
build.js Outdated Show resolved Hide resolved
build.js Show resolved Hide resolved
@f3ath
Copy link
Collaborator

f3ath commented Aug 4, 2024

The build script may soon require its own test suite...

@Marcono1234 Marcono1234 force-pushed the duplicate-test-names branch from 54e80d6 to 8ee5d97 Compare August 6, 2024 19:41
@Marcono1234
Copy link
Contributor Author

Have split it into two commits now: The build for the first commit failed, as desired. And the second commit fixed it.

I hope the changes are ok like this now. Please let me know if you want anything else changed.

@gregsdennis gregsdennis merged commit a6a0a4c into jsonpath-standard:main Aug 7, 2024
2 checks passed
@gregsdennis
Copy link
Collaborator

Hmm... @Marcono1234 / @f3ath I accidently merged this. Meant to approve instead and wait for @f3ath's responses. Please open a new PR for any additional changes.

@f3ath
Copy link
Collaborator

f3ath commented Aug 7, 2024

The changes look fine to me actually. I think we're good.

@Marcono1234 Marcono1234 deleted the duplicate-test-names branch August 7, 2024 21:47
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.

3 participants