Skip to content

Commit

Permalink
progress
Browse files Browse the repository at this point in the history
  • Loading branch information
paultuckey committed Jul 1, 2023
1 parent d2e8b31 commit 3c2a518
Showing 1 changed file with 11 additions and 11 deletions.
Expand Up @@ -8,15 +8,15 @@
* modification, are permitted provided that the following conditions
* are met:
* <p>
* - Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* - Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* - Neither the name tuckey.org nor the names of its contributors
* may be used to endorse or promote products derived from this
* software without specific prior written permission.
* - Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* - Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* - Neither the name tuckey.org nor the names of its contributors
* may be used to endorse or promote products derived from this
* software without specific prior written permission.
* <p>
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
Expand Down Expand Up @@ -47,8 +47,8 @@
import java.util.zip.GZIPInputStream;

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertFalse;


/**
Expand Down Expand Up @@ -111,7 +111,7 @@ public void testNullTo() throws IOException {
client.executeMethod(method);
assertEquals(403, method.getStatusCode()); // "should have status set",
String CONTENT = "<p>some content</p>";
assertFalse(CONTENT.equals(StringUtils.trim(method.getResponseBodyAsString()))); // "should not output above content"
assertNotEquals(CONTENT, StringUtils.trim(method.getResponseBodyAsString())); // "should not output above content"
}

@Test
Expand Down

0 comments on commit 3c2a518

Please sign in to comment.