summaryrefslogtreecommitdiff
path: root/libs/pbd/test/convert_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2012-04-01 14:30:06 +0000
committerCarl Hetherington <carl@carlh.net>2012-04-01 14:30:06 +0000
commit7f417fb44fca536d3eb038bf01919e2557082d13 (patch)
tree1052fa3a8353a313889a882bd3642325bfbc2474 /libs/pbd/test/convert_test.cc
parent3240a93aad831eea5295fbca2387d2210e9e8638 (diff)
Remove unused ustring version of url_decode(). Rework
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
Diffstat (limited to 'libs/pbd/test/convert_test.cc')
-rw-r--r--libs/pbd/test/convert_test.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/pbd/test/convert_test.cc b/libs/pbd/test/convert_test.cc
index 43e6546716..8b818deea1 100644
--- a/libs/pbd/test/convert_test.cc
+++ b/libs/pbd/test/convert_test.cc
@@ -8,7 +8,6 @@ using namespace std;
void
ConvertTest::testUrlDecode ()
{
- string url = "http://foo.bar.baz/A%20B%20C%20.html";
- PBD::url_decode (url);
- CPPUNIT_ASSERT_EQUAL (url, string ("http://foo.bar.baz/A B C .html"));
+ 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"));
}