Merge 0.7->0.8
[prosody.git] / tests / test_core_configmanager.lua
index 099ff3c3278f7318b5e4dd789043d360791cb5b4..132dfc7456bd98360556bf3c4ec52328c6f908e4 100644 (file)
@@ -1,3 +1,12 @@
+-- Prosody IM
+-- Copyright (C) 2008-2010 Matthew Wild
+-- Copyright (C) 2008-2010 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
+
 
 function get(get, config)
        config.set("example.com", "test", "testkey", 123);
@@ -20,7 +29,7 @@ end
 
 function set(set, u)
        assert_equal(set("*"), false, "Set with no section/key");
-       assert_equal(set("*", "set_test"), false, "Set with no key");   
+       assert_equal(set("*", "set_test"), false, "Set with no key");
 
        assert_equal(set("*", "set_test", "testkey"), true, "Setting a nil global value");
        assert_equal(set("*", "set_test", "testkey", 123), true, "Setting a global value");