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

MicroBat cannot run unit tests in default package #243

Open
bchenghi opened this issue Sep 13, 2022 · 0 comments · May be fixed by #244
Open

MicroBat cannot run unit tests in default package #243

bchenghi opened this issue Sep 13, 2022 · 0 comments · May be fixed by #244

Comments

@bchenghi
Copy link
Collaborator

The following line 222 in microbat.util.MicroBatUtil , cName = cName.substring(0, cName.lastIndexOf(".")).replace(".", File.separator); throws String index out of bounds exception when the class is not in any package. Specifically cName.substring(0, cName.lastIndexOf(".")) as it resolves to cName.substring(0, -1)

@bchenghi bchenghi linked a pull request Oct 13, 2022 that will close this issue
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 a pull request may close this issue.

1 participant