Skip to content

Issue for Lab 7#21

Open
nxgao wants to merge 61 commits intonidhidhamnani:mainfrom
lin-ash:main
Open

Issue for Lab 7#21
nxgao wants to merge 61 commits intonidhidhamnani:mainfrom
lin-ash:main

Conversation

@nxgao
Copy link

@nxgao nxgao commented May 13, 2022

No description provided.

lin-ash and others added 30 commits April 14, 2022 18:42
method loops infinitely and currentIndex is always 0
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: begin 17, end -1, length 17
        at java.base/java.lang.String.checkBoundsBeginEnd(String.java:4601)
        at java.base/java.lang.String.substring(String.java:2704)
        at MarkdownParse.getLinks(MarkdownParse.java:19)
        at MarkdownParse.main(MarkdownParse.java:29)
returns a message saying "no link found" if the read file has no links embedded in it
test-file4.md cause an infinite loop with continue methods within the if statements that tested if : was used to reference a link.
javac -cp ".;lib\junit-4.13.2.jar;lib\hamcrest-core-1.3.jar" MarkdownParseTest.java

java -cp ".;lib/junit-4.13.2.jar;lib/hamcrest-core-1.3.jar"
javac -cp ".;lib\junit-4.13.2.jar;lib\hamcrest-core-1.3.jar" MarkdownParseTest.java

java -cp ".;lib/junit-4.13.2.jar;lib/hamcrest-core-1.3.jar" org.junit.runner.JUnitCore MarkdownParseTest
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