diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2018-11-17 17:22:36 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2018-11-17 17:24:21 +0100 |
commit | 0f2983ab8d8f4c7b6a758a6e663397b4f5187f68 (patch) | |
tree | f47af5e296376bb60b1de784e574019e879114d8 | |
parent | b3bf5500950f194a0cefcc29f1f1289cc21eb210 (diff) | |
download | vala-0f2983ab8d8f4c7b6a758a6e663397b4f5187f68.tar.gz |
tests: Add "static fields" to compact class to increase coverage
-rw-r--r-- | tests/objects/fields.vala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/objects/fields.vala b/tests/objects/fields.vala index 8229e978e..4f398eb70 100644 --- a/tests/objects/fields.vala +++ b/tests/objects/fields.vala @@ -3,6 +3,8 @@ using GLib; [Compact] class CompactTest { public int initialized_field = 24; + private static int private_static_field = 25; + public static int public_static_field = 26; } class Maman.Foo : Object { @@ -92,7 +94,7 @@ class Maman.Bar : Foo { var compact = new CompactTest (); stdout.printf (" %d", compact.initialized_field); - stdout.printf (" 25\n"); + stdout.printf (" 27\n"); return 0; } |