1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-26 22:32:07 +01:00

Fix method name getCommentHeader

This commit is contained in:
Paul Schaub 2021-12-14 14:42:53 +01:00
parent bff2b3fbfe
commit 1681f3934f
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
2 changed files with 2 additions and 2 deletions

View file

@ -157,7 +157,7 @@ public final class ArmorUtils {
return armor;
}
public static List<String> getCommendHeaderValues(ArmoredInputStream armor) {
public static List<String> getCommentHeaderValues(ArmoredInputStream armor) {
return getArmorHeaderValues(armor, HEADER_COMMENT);
}

View file

@ -70,7 +70,7 @@ public class ArmorUtilsTest {
assertEquals(HashAlgorithm.SHA512, hashes.get(0));
// Comment
List<String> commentHeader = ArmorUtils.getCommendHeaderValues(armorIn);
List<String> commentHeader = ArmorUtils.getCommentHeaderValues(armorIn);
assertEquals(2, commentHeader.size());
assertEquals("This is a comment", commentHeader.get(0));
assertEquals("This is another comment", commentHeader.get(1));