Make ReadmeExampleTest truly platform independent
- Dominant language
- Java
- Stars
- 94
- Forks
- 44
- PR merge metrics
- No merged PRs in 30d
Description
When building `imagej-ops` with maven in _Git Bash_ for Windows (`MINGW64`), I had to revert the commit https://github.com/imagej/imagej-ops/commit/13861a5a5d5965aa7053d95cb9fc834083f4470a, i.e. replacing `"```python%n"` by `"```python\n"`, in order to make [`ReadmeExampleTest`](https://github.com/imagej/imagej-ops/blob/9fe89b85f39da55f9e87f22e4ae544b2df4f87f2/src/test/java/net/imagej/ops/ReadmeExampleTest.java) succeed.
We should try to find a solution that really works on all platforms, also on bash implementations for Windows.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with src/test/java/net/imagej/ops/ReadmeExampleTest.java and compare its platform-dependent handling of the Python code fence newline. Run the test with Maven in Git Bash on Windows, then verify that ReadmeExampleTest also succeeds on the other supported platforms and shell environments mentioned by the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system, testing-qa
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100