7f417fb44f
the other version to be a bit simpler, avoiding #4800. git-svn-id: svn://localhost/ardour2/branches/3.0@11771 d708f5d6-7413-0410-9779-e7cbd77b26cf
14 lines
317 B
C++
14 lines
317 B
C++
#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"));
|
|
}
|