aboutsummaryrefslogtreecommitdiff
path: root/src/unit
diff options
context:
space:
mode:
Diffstat (limited to 'src/unit')
-rw-r--r--src/unit/taf.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/unit/taf.cpp b/src/unit/taf.cpp
index 5e0e914..94b4613 100644
--- a/src/unit/taf.cpp
+++ b/src/unit/taf.cpp
@@ -29,14 +29,14 @@ public:
29 fOut.write(data,strlen(data)); 29 fOut.write(data,strlen(data));
30 fOut.close(); 30 fOut.close();
31 31
32 Bu::File fIn(sFnTmp.c_str(), "rb"); 32 Bu::File fIn(sFnTmp.getStr(), "rb");
33 Bu::TafReader tr(fIn); 33 Bu::TafReader tr(fIn);
34 34
35 Bu::TafGroup *tn = tr.readGroup(); 35 Bu::TafGroup *tn = tr.readGroup();
36 unitTest( !strcmp("Bob", tn->getProperty("name").c_str()) ); 36 unitTest( !strcmp("Bob", tn->getProperty("name").getStr()) );
37 delete tn; 37 delete tn;
38 38
39 unlink(sFnTmp.c_str()); 39 unlink(sFnTmp.getStr());
40#undef FN_TMP 40#undef FN_TMP
41 } 41 }
42}; 42};