]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
tests: Fix /objects/methods test
authorJürg Billeter <j@bitron.ch>
Sat, 16 Oct 2010 11:29:50 +0000 (13:29 +0200)
committerJürg Billeter <j@bitron.ch>
Sat, 16 Oct 2010 11:30:27 +0000 (13:30 +0200)
tests/objects/methods.vala

index 027a53da15b5f15189addf72db23d8a95a00d0dd..64fd4f0dea2f1e7b651d2d1fe46b4a8d1036737e 100644 (file)
@@ -70,13 +70,13 @@ class Maman.SubBar : Bar {
                assert (weak_str == "hello");
 
                test_out_weak (out str2);
-               assert (str == "hello");
+               assert (str2 == "hello");
 
                test_ref (ref str);
                assert (str == "world");
 
                test_ref_weak (ref weak_str);
-               assert (str == "world");
+               assert (weak_str == "world");
 
                ClassTest.run_test ();