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

Fix deprecation warnings / Refactoring uuidFromPath incl. unittests improvment #1309

Merged
merged 3 commits into from
Sep 24, 2022
Merged

Fix deprecation warnings / Refactoring uuidFromPath incl. unittests improvment #1309

merged 3 commits into from
Sep 24, 2022

Conversation

buhtz
Copy link
Member

@buhtz buhtz commented Sep 24, 2022

I was on the way to investigate and fix our rsync-problem. But on that dirty road I found two tiny warnings about deprecated escape sequences in two regex patterns. Not a big deal. I fixed this. But to write good unittests for that I needed to refactor some code.

The function tools.uuidFromDev() was to complex. I split up that code and created three additional and private functions that are used by uuidFromDev(). And I add some unittests for it.

Took some time. ;)

@emtiu emtiu merged commit b14a98f into bit-team:master Sep 24, 2022
@buhtz buhtz deleted the fix/r-string branch September 25, 2022 11:39
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