summaryrefslogtreecommitdiff
path: root/libs/pbd/test/convert_test.cc
blob: 8b818deea1495ebeefd49fc425d4b81197face05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "convert_test.h"
#include "pbd/convert.h"

CPPUNIT_TEST_SUITE_REGISTRATION (ConvertTest);

using namespace std;

void
ConvertTest::testUrlDecode ()
{
	string const url = "http://foo.bar.baz/A%20B%20C%20+42.html";
	CPPUNIT_ASSERT_EQUAL (PBD::url_decode (url), string ("http://foo.bar.baz/A B C  42.html"));
}