php-src/ext/hash/tests
Peter Kokot d679f02295 Sync leading and final newlines in *.phpt sections
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines in all
*.phpt sections.

According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.

C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."

Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.

[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
2018-10-15 04:33:09 +02:00
..
adler32.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
bug52240.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
bug64745.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug70312.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
bug73127.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
crc32.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
fnv1a32.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
fnv1a64.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
fnv132.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
fnv164.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
gost.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
hash-clone.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
hash_algos.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
hash_copy_001.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
hash_copy_002.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
hash_equals.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
hash_error.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
hash_file_basic.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
hash_file_basic1.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
hash_file_error.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
hash_hkdf_basic.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
hash_hkdf_edges.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
hash_hkdf_error.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
hash_hkdf_rfc5869.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
hash_hmac_algos.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
hash_hmac_basic.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
hash_hmac_error.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
hash_hmac_file_basic.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
hash_hmac_file_error.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
hash_init_error.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
hash_pbkdf2_basic.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
hash_pbkdf2_error.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
hash_update_file.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
hash_update_stream.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
haval.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
hmac-md5.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
joaat.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
md2.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
md4.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
md5.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
mhash_001.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
mhash_002.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
mhash_003.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
mhash_004.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
new-context.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
reuse.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
ripemd128.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
ripemd160.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
ripemd256.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
ripemd320.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
serialize-context.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
sha1.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
sha3.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
sha224.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
sha256.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
sha384.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
sha512-224.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
sha512-256.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
sha512.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
snefru.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00
tiger.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
whirlpool.phpt Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests) 2018-10-03 08:48:11 +02:00