Testing for non-null

This commit is contained in:
Joakim Erdfelt 2013-07-30 14:41:28 -07:00
parent 4d36627a63
commit 6fc7e23dc0
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,7 @@ import org.eclipse.jetty.util.BufferUtil;
import org.eclipse.jetty.util.TypeUtil;
import org.junit.Assert;
import static org.hamcrest.Matchers.*;
import static org.hamcrest.Matchers.is;
public class SafariD00
@ -113,6 +114,7 @@ public class SafariD00
{
line = br.readLine();
// System.out.printf("RESP: %s%n",line);
Assert.assertThat(line, notNullValue());
if (line.length() == 0)
{
foundEnd = true;