Polish "Remove unused String.format call"

See gh-916
This commit is contained in:
Andy Wilkinson
2024-01-24 14:11:13 +00:00
parent ccc81f2e5b
commit 79ff75fe6e

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2023 the original author or authors.
* Copyright 2014-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -50,8 +50,7 @@ public class ConcatenatingCommandFormatterTests {
@Test
public void formattingMultipleElements() {
assertThat(this.singleLineFormat.format(Arrays.asList("alpha", "bravo")))
.isEqualTo(" alpha bravo");
assertThat(this.singleLineFormat.format(Arrays.asList("alpha", "bravo"))).isEqualTo(" alpha bravo");
}
}