summaryrefslogtreecommitdiff
path: root/tests/basic-types
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2018-03-27 12:46:26 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2018-03-27 13:12:02 +0200
commit55d883a5b593be366aff440ead4571ee76d86d02 (patch)
treebe85465984a784b0e553a1c15f6e9c91b257be3c /tests/basic-types
parent7bd54c7a88555831febf186295cc44a7301aa83f (diff)
downloadvala-55d883a5b593be366aff440ead4571ee76d86d02.tar.gz
Drop trailing spaces/tabs
It was about time to do this.
Diffstat (limited to 'tests/basic-types')
-rw-r--r--tests/basic-types/bug571486.vala6
-rw-r--r--tests/basic-types/bug731017.vala4
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/basic-types/bug571486.vala b/tests/basic-types/bug571486.vala
index 4ba922ec2..1240bc515 100644
--- a/tests/basic-types/bug571486.vala
+++ b/tests/basic-types/bug571486.vala
@@ -13,14 +13,14 @@ class Foo {
void main () {
Object o1 = new Object ();
Object o2 = new Object ();
-
+
(unowned Object)[] test = new (unowned Object)[] { o1 };
assert (o1.ref_count == 1);
test[0] = o2;
assert (o1.ref_count == 1);
assert (o2.ref_count == 1);
-
- test = null;
+
+ test = null;
assert (o1.ref_count == 1);
assert (o2.ref_count == 1);
diff --git a/tests/basic-types/bug731017.vala b/tests/basic-types/bug731017.vala
index 4f25205a7..2359b4807 100644
--- a/tests/basic-types/bug731017.vala
+++ b/tests/basic-types/bug731017.vala
@@ -8,10 +8,10 @@ string foo = null;
void main() {
foo = "foo";
-
+
string[] keys = bar();
foo = null;
-
+
foreach (unowned string k in keys) {
assert (k == "foo");
}