File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
approvaltests-tests/src/test/java/org/approvaltests/namer
approvaltests/src/main/java/org/approvaltests/namer Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ void testOsSpecificTest()
2525 void oldExampleForDocs ()
2626 {
2727 // begin-snippet: namer_factory_example
28- try (NamedEnvironment namer = NamerFactory .withParameters ("title" , "chapter" )) {
28+ try (NamedEnvironment namer = NamerFactory .withParameters ("title" , "chapter" ))
29+ {
2930 Approvals .verify ("data" );
3031 }
3132 // end-snippet
Original file line number Diff line number Diff line change @@ -25,11 +25,14 @@ public Options asMachineNameSpecificTest(Options options)
2525 {
2626 return options .forFile ().withAdditionalInformation (SystemUtils .getComputerName ());
2727 }
28- public Options withParameters (String ... parameters ) {
28+ public Options withParameters (String ... parameters )
29+ {
2930 return withParameters (new Options (), parameters );
3031 }
31- public Options withParameters (Options options , String ... parameters ) {
32- for (String parameter : parameters ) {
32+ public Options withParameters (Options options , String ... parameters )
33+ {
34+ for (String parameter : parameters )
35+ {
3336 options = options .forFile ().withAdditionalInformation (parameter );
3437 }
3538 return options ;
You can’t perform that action at this time.
0 commit comments