Blame tests/tfn/compressWhitespace.t

Packit 284210
### Empty
Packit 284210
{
Packit 284210
	type => "tfn",
Packit 284210
	name => "compressWhitespace",
Packit 284210
	input => "",
Packit 284210
	output => "",
Packit 284210
	ret => 0,
Packit 284210
},
Packit 284210
Packit 284210
### Nothing
Packit 284210
{
Packit 284210
	type => "tfn",
Packit 284210
	name => "compressWhitespace",
Packit 284210
	input => "TestCase",
Packit 284210
	output => "TestCase",
Packit 284210
	ret => 0,
Packit 284210
},
Packit 284210
{
Packit 284210
	type => "tfn",
Packit 284210
	name => "compressWhitespace",
Packit 284210
	input => "Test\0Case",
Packit 284210
	output => "Test\0Case",
Packit 284210
	ret => 0,
Packit 284210
},
Packit 284210
{
Packit 284210
	type => "tfn",
Packit 284210
	name => "compressWhitespace",
Packit 284210
	input => "Test Case",
Packit 284210
	output => "Test Case",
Packit 284210
	ret => 0,
Packit 284210
},
Packit 284210
Packit 284210
Packit 284210
### Compress space/tab
Packit 284210
{
Packit 284210
	type => "tfn",
Packit 284210
	name => "compressWhitespace",
Packit 284210
	input => "  Test  \t   Case  ",
Packit 284210
	output => " Test Case ",
Packit 284210
	ret => 1,
Packit 284210
},
Packit 284210
Packit 284210
### Pretty much everything in one
Packit 284210
{
Packit 284210
	type => "tfn",
Packit 284210
	name => "compressWhitespace",
Packit 284210
	input => "This is a   test case with a tab \t, vtab \x0b, newline \x0a, return \x0d, formfeed \f, and a NUL\0 in it with a CRLF at the end.\x0d\x0a",
Packit 284210
	output => "This is a test case with a tab , vtab , newline , return , formfeed , and a NUL\0 in it with a CRLF at the end. ",
Packit 284210
	ret => 1,
Packit 284210
},