File: xml_filter_chars.t

package info (click to toggle)
libanyevent-xmpp-perl 0.52-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 896 kB
  • sloc: perl: 7,937; makefile: 12
file content (6 lines) | stat: -rw-r--r-- 163 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
#!perl
use strict;
use Test::More tests => 1;
use AnyEvent::XMPP::Util qw/filter_xml_chars/;

is (filter_xml_chars ("BB\a\bAA"), "BBAA", "filters out bad chars");