Skip to content

Commit

Permalink
Getting rid of ugly green highlight in java code
Browse files Browse the repository at this point in the history
and 5.4 unit test fix
  • Loading branch information
bhoffman0 committed Dec 7, 2024
1 parent ca51f9f commit 86580c4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _sources/Unit5-Writing-Classes/topic-5-4-accessor-methods.rst
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ You've been hired to create a software system for the Awesome Animal Clinic! The
{
String output = getMethodOutput("main");
String expect = "3+ line(s) of text";
String expect = "2+ line(s) of text";
String actual = " line(s) of text";
int len = output.split("\n").length;
Expand All @@ -433,9 +433,9 @@ You've been hired to create a software system for the Awesome Animal Clinic! The
{
actual = output.length() + actual;
}
boolean passed = len >= 3;
boolean passed = len >= 2;
getResults(expect, actual, "Checking main method prints info for Pet objects", passed);
getResults(expect, actual, "Checking main method prints info for 2 Pet objects", passed);
assertTrue(passed);
}
}
Expand Down
5 changes: 5 additions & 0 deletions _static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ strong,
font-weight: bolder;
}

.runestone-sphinx
div.highlight pre {
background-color: lightyellow;
}

a,
.runestone-sphinx a
{
Expand Down

0 comments on commit 86580c4

Please sign in to comment.