Skip to content

Commit

Permalink
found another one
Browse files Browse the repository at this point in the history
  • Loading branch information
timo-a committed Oct 5, 2024
1 parent ffab4e6 commit e56ff31
Showing 1 changed file with 36 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ void shouldNotIndentExtends() {
))),
java("class BaseClass {}"),
java(
"""
"""
import static org.junit.jupiter.api.Assertions.*;
import java.io.*;
Expand All @@ -756,9 +756,9 @@ class Test
""",
"""
import java.io.*;
import static org.junit.jupiter.api.Assertions.*;
class Test
extends BaseClass {
Expand All @@ -767,6 +767,39 @@ class Test
\tint ba;//tabbed indentation
}
"""
),
java(
"""
import com.fasterxml.jackson.core.*;
import com.fasterxml.jackson.databind.*;
public class CollectionDeserializer {
void a()
{
}
/**
* JavaDoc without a gap.
*/
class B {}
}
""",
"""
import com.fasterxml.jackson.core.*;
import com.fasterxml.jackson.databind.*;
public class CollectionDeserializer {
void a()
{
}
/**
* JavaDoc without a gap.
*/
class B {}
}
"""
)
);
}
Expand Down

0 comments on commit e56ff31

Please sign in to comment.