vala-tests r46 - trunk/tests/bugs



Author: juergbi
Date: Sat Oct 25 07:15:07 2008
New Revision: 46
URL: http://svn.gnome.org/viewvc/vala-tests?rev=46&view=rev

Log:
Fix test case for bug 536863 to really test described bug


Modified:
   trunk/tests/bugs/536863.vala

Modified: trunk/tests/bugs/536863.vala
==============================================================================
--- trunk/tests/bugs/536863.vala	(original)
+++ trunk/tests/bugs/536863.vala	Sat Oct 25 07:15:07 2008
@@ -1,7 +1,7 @@
 using GLib;
 
 public class Foo : Object {
-        public int property {
+        public int prop {
                 get; set;
         }
         
@@ -11,7 +11,7 @@
 }
 
 public interface Foobar {
-        public abstract int property {
+        public abstract int prop {
                 get; set;
         }
         
@@ -29,8 +29,8 @@
 
 public static void main ( string[] args ) {
         Bar b = new Bar ();
-        b.property = 3;
-        assert(b.property == 3);
+        b.prop = 3;
+        assert(b.prop == 3);
         assert(b.get_name () == "Foo");
 }
 



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