]> git.saurik.com Git - apt.git/blobdiff - test/libapt/strutil_test.cc
set the msglevel to a high dummy value if none is specified
[apt.git] / test / libapt / strutil_test.cc
index 8d81a0c6c2443b3d42062c89fe3fc6fde8e9dc91..af6eb2cc635a681e8b07a89ff3edc610bfbfc3a5 100644 (file)
@@ -36,5 +36,11 @@ int main(int argc,char *argv[])
    output = DeEscapeString(input);
    equals(output, expected);
 
+   // the string that we actually need it for
+   input = "/media/Ubuntu\\04011.04\\040amd64";
+   expected = "/media/Ubuntu 11.04 amd64";
+   output = DeEscapeString(input);
+   equals(output, expected);
+
    return 0;
 }