File:  [parser3project] / parser3 / tests / 193.html
Revision 1.3: download - view: text, annotated - select for diffs - revision graph
Sat Mar 3 05:27:13 2012 UTC (14 years, 4 months ago) by misha
Branches: MAIN
CVS tags: HEAD
- tests for ^string:base64[encoded;$.strict(true)] are added

@main[][tString]
$tString[^table::create{sValue
pyAxOTczLiDV7uT/8iDx6/P16Cwg9/LuIKvH5evl7fvlIPDz6uDi4Lsg7eDv6PHg6yDx4OyF	Correct
pyAxOTczLiDV7uT/8iDx6/P16Cwg9/LuIKvH5ev	A part of correct base64
R0lGODlhFAAUAIAAAP0gIP///yH5BAEAAAEALAAAAAAUABQAAAImjI+py+0PYwDygHslxnFv53lN KC5kmZwoon5Ky70wZcKjCpHVXhUAOw==	File 103mark.gif with \x00 char
AAn	An incorrect base64
}]

<table>
^tString.menu{
	<tr>
	<td>^try-catch{'^string:base64[$tString.sValue]'}</td>
	<td>^try-catch{'^string:base64[$tString.sValue;$.strict(true)]'}</td>
	</tr>
}
</table>

E-mail: