summaryrefslogtreecommitdiff
path: root/test/backupstore/testbackupstore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/backupstore/testbackupstore.cpp')
-rw-r--r--test/backupstore/testbackupstore.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/backupstore/testbackupstore.cpp b/test/backupstore/testbackupstore.cpp
index 39bd9fbe..0266d097 100644
--- a/test/backupstore/testbackupstore.cpp
+++ b/test/backupstore/testbackupstore.cpp
@@ -232,7 +232,8 @@ int test1(int argc, const char *argv[])
TEST_THAT(fn1 == fn3);
// Check that it's been encrypted
- TEST_THAT(fn2.find("name") == fn2.npos);
+ std::string name(fn2.GetEncodedFilename());
+ TEST_THAT(name.find("name") == name.npos);
// Bung it in a stream, get it out in a Clear filename
{