mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-26 14:22:05 +01:00
Fix method name getCommentHeader
This commit is contained in:
parent
bff2b3fbfe
commit
1681f3934f
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue