Skip to content

Commit

Permalink
WICKET-7024 test legibility improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrosans committed Oct 28, 2024
1 parent f83f61b commit 32b27ba
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,7 @@ public void decodeStyleFromUrl()
"wicket/resource/org.apache.wicket.core.request.resource.PackageResourceReferenceTest/a.css?-orange");

assertThat(tester.getLastResponseAsString(), containsString("orange"));
assertThat(tester.getLastResponseAsString(), not(containsString("blue")));
}

/**
Expand All @@ -445,7 +446,7 @@ public void notDecodeStyleFromUrl()

TestPage page = (TestPage)tester.getLastRenderedPage();

assertThat(page.resource.getStyle(), is(not("1.0")));
assertThat(page.resource.getStyle(), not(is("1.0")));
}

public static class TestPage extends WebPage implements IMarkupResourceStreamProvider
Expand Down

0 comments on commit 32b27ba

Please sign in to comment.