Skip to content

Commit 2d1e052

Browse files
committed
Minor test refactoring
1 parent 18e4620 commit 2d1e052

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/test/java/com/fasterxml/jackson/core/tofix/async/AsyncTokenRootErrorTest.java renamed to src/test/java/com/fasterxml/jackson/core/tofix/async/AsyncTokenRootError1506Test.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
package com.fasterxml.jackson.core.tofix.async;
22

3-
import java.io.IOException;
4-
53
import org.junit.jupiter.api.Test;
64

75
import com.fasterxml.jackson.core.*;
@@ -12,8 +10,9 @@
1210

1311
import static org.junit.jupiter.api.Assertions.fail;
1412

13+
// [core#1506]: Fix in 3.1, failing (left) for 2.x
1514
// Tests for handling token decoding fails for Root values
16-
class AsyncTokenRootErrorTest extends AsyncTestBase
15+
class AsyncTokenRootError1506Test extends AsyncTestBase
1716
{
1817
private final JsonFactory JSON_F = newStreamFactory();
1918

@@ -42,7 +41,7 @@ void mangledRootFloats() throws Exception
4241
}
4342
}
4443

45-
private AsyncReaderWrapper _createParser(String doc) throws IOException
44+
private AsyncReaderWrapper _createParser(String doc) throws Exception
4645
{
4746
return asyncForBytes(JSON_F, 1, _jsonDoc(doc), 1);
4847
}

0 commit comments

Comments
 (0)