Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@timohuovinen
Copy link

@timohuovinen timohuovinen commented Jun 5, 2023

The commit 61dc501 changed Copier's default setting to be case-insensitive, causing some tests to fail. I've fixed this by making Copier case-sensitive again.

I copied the "primary set of tests" to test the new case-insensitive functionality, this was simpler than introducing generics and breaking go 1.13 compatibility, it should be easy to remove the unneccessary tests (if any).

To see the change in action, checkout and do go test ./...

The commit changes the default behavior to be case-insensitive, which breaks tests and compatibility, this fixes that.

I've duplicated the tests because it was a bit difficult to do it in any other way
@timohuovinen timohuovinen changed the title fix case-insensitivity code fix case-insensitivity Jun 6, 2023
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.

1 participant