Skip to content

Commit

Permalink
Refactored code
Browse files Browse the repository at this point in the history
  • Loading branch information
fulminazzo committed Dec 22, 2024
1 parent 7ad6517 commit 0a63b22
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class RailwayMainTest extends Specification {

def 'test invalid arguments'() {
when:
Railway.main(args.toArray(new String[0]))
Railway.main(args.toArray(String[]::new))

then:
this.err.toString() == "${expected}\n"
Expand Down

0 comments on commit 0a63b22

Please sign in to comment.