Polishing
This commit is contained in:
@@ -15,20 +15,20 @@
|
||||
*/
|
||||
package org.springframework.http;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
/**
|
||||
* Unit tests for {@link org.springframework.http.HttpRange}.
|
||||
* Unit tests for {@link HttpRange}.
|
||||
*
|
||||
* @author Rossen Stoyanchev
|
||||
*/
|
||||
public class HttpRangeTests {
|
||||
|
||||
|
||||
@Test(expected = IllegalArgumentException.class)
|
||||
public void invalidFirstPosition() throws Exception {
|
||||
HttpRange.createByteRange(-1);
|
||||
|
||||
Reference in New Issue
Block a user