Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Jsontestsuite failed to execute in Windows #1277

Open
oracle3 opened this issue Apr 28, 2019 · 2 comments
Open

Jsontestsuite failed to execute in Windows #1277

oracle3 opened this issue Apr 28, 2019 · 2 comments

Comments

@oracle3
Copy link

oracle3 commented Apr 28, 2019

in function
org.ethereum.jsontestsuite.suite.JSONReader.listJsonBlobsForTreeSha(String, String)
old code:

                    jsons.add(
                            f.replace(path + System.getProperty("file.separator"), "")
                             .replaceAll(System.getProperty("file.separator"), "/"));

should change to:

                    jsons.add(
                            f.replace(path + System.getProperty("file.separator"), "")
                             .replaceAll(Matcher.quoteReplacement(System.getProperty("file.separator")), "/"));
@mkalinin
Copy link
Contributor

Hm, got your point. Would you mind creating a PR with this change?

@oracle3
Copy link
Author

oracle3 commented Apr 30, 2019

how to creating a PR?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants