Before

…lines 1–27 unchanged (27 lines)
28import static org.junit.jupiter.api.Assertions.assertEquals;
29import static org.junit.jupiter.api.Assertions.assertNull;
30import static org.junit.jupiter.api.Assertions.assertThrows;
31
32import org.junit.jupiter.api.Test;
33
34import net.sf.joptsimple.KeyValuePair;
35
36/**
37 * @author <a href="mailto:pholser@alumni.rice.edu">Paul Holser</a>
38 */
39public class KeyValuePairTest {
40 @Test
…lines 41–93 unchanged (53 lines)

After

…lines 1–26 unchanged (26 lines)
27
28import static org.junit.jupiter.api.Assertions.assertEquals;
29import static org.junit.jupiter.api.Assertions.assertNull;
30import static org.junit.jupiter.api.Assertions.assertThrows;
31
32import org.junit.jupiter.api.Test;
33
34/**
35 * @author <a href="mailto:pholser@alumni.rice.edu">Paul Holser</a>
36 */
37public class KeyValuePairTest {
38 @Test
39 public void nullArg() {
…lines 40–91 unchanged (52 lines)

Before

program
block_comment "/*\n The MIT License\n\n Copyright (c) 2004-2021 Paul R. Holser"...
package_declaration
package "package"
scoped_identifier
scoped_identifier
identifier "net"
. "."
identifier "sf"
. "."
identifier "joptsimple"
; ";"
import_declaration
import "import"
static "static"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "junit"
. "."
identifier "jupiter"
. "."
identifier "api"
. "."
identifier "Assertions"
. "."
identifier "assertEquals"
; ";"
import_declaration
import "import"
static "static"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "junit"
. "."
identifier "jupiter"
. "."
identifier "api"
. "."
identifier "Assertions"
. "."
identifier "assertNull"
; ";"
import_declaration
import "import"
static "static"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "junit"
. "."
identifier "jupiter"
. "."
identifier "api"
. "."
identifier "Assertions"
. "."
identifier "assertThrows"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "junit"
. "."
identifier "jupiter"
. "."
identifier "api"
. "."
identifier "Test"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "net"
. "."
identifier "sf"
. "."
identifier "joptsimple"
. "."
identifier "KeyValuePair"
; ";"
block_comment "/**\n * @author <a href=\"mailto:pholser@alumni.rice.edu\">Paul"...
class_declaration (+447 nodes collapsed)

After

program
block_comment "/*\n The MIT License\n\n Copyright (c) 2004-2021 Paul R. Holser"...
package_declaration
package "package"
scoped_identifier
scoped_identifier
identifier "net"
. "."
identifier "sf"
. "."
identifier "joptsimple"
; ";"
import_declaration
import "import"
static "static"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "junit"
. "."
identifier "jupiter"
. "."
identifier "api"
. "."
identifier "Assertions"
. "."
identifier "assertEquals"
; ";"
import_declaration
import "import"
static "static"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "junit"
. "."
identifier "jupiter"
. "."
identifier "api"
. "."
identifier "Assertions"
. "."
identifier "assertNull"
; ";"
import_declaration
import "import"
static "static"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "junit"
. "."
identifier "jupiter"
. "."
identifier "api"
. "."
identifier "Assertions"
. "."
identifier "assertThrows"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "junit"
. "."
identifier "jupiter"
. "."
identifier "api"
. "."
identifier "Test"
; ";"
block_comment "/**\n * @author <a href=\"mailto:pholser@alumni.rice.edu\">Paul"...
class_declaration (+447 nodes collapsed)