[vala] tests: Fix /objects/methods test



commit 18e5b19393bdb5b1e9af1398ce91fcda55f237da
Author: Jürg Billeter <j bitron ch>
Date:   Sat Oct 16 13:29:50 2010 +0200

    tests: Fix /objects/methods test

 tests/objects/methods.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/objects/methods.vala b/tests/objects/methods.vala
index 027a53d..64fd4f0 100644
--- a/tests/objects/methods.vala
+++ b/tests/objects/methods.vala
@@ -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 ();
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]