summaryrefslogtreecommitdiff
path: root/src/tests/archive.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/archive.cpp')
-rw-r--r--src/tests/archive.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tests/archive.cpp b/src/tests/archive.cpp
index a0bc78a..08e3b17 100644
--- a/src/tests/archive.cpp
+++ b/src/tests/archive.cpp
@@ -13,12 +13,15 @@ using namespace Bu;
13 13
14int main() 14int main()
15{ 15{
16 File f("test.dat", File::Write ); 16 File f("test.dat", File::WriteNew );
17 Archive ar( f, Archive::save ); 17 Archive ar( f, Archive::save );
18 18
19 Bu::FString s("Hello there"); 19 Bu::FString s("Hello there");
20 ar << s; 20 ar << s;
21 21
22 ar.setProp("hi", 45 );
23 printf("Hi: %d", ar.getProp<int>("hi") );
24
22 return 0; 25 return 0;
23} 26}
24 27