[vala/wip/682_array_methods_refactor: 17/18] WIP
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/682_array_methods_refactor: 17/18] WIP
- Date: Mon, 12 Sep 2022 07:26:22 +0000 (UTC)
commit c0eda71211ab12d2dd96e5fcc0563ade930edd08
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Mon May 23 09:35:07 2022 +0200
WIP
tests/basic-types/arrays.c-expected | 4 +---
tests/basic-types/arrays.vala | 2 +-
2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/tests/basic-types/arrays.c-expected b/tests/basic-types/arrays.c-expected
index a82eea38b..ca0bf8ace 100644
--- a/tests/basic-types/arrays.c-expected
+++ b/tests/basic-types/arrays.c-expected
@@ -1458,7 +1458,6 @@ test_array_with_boxed_move (void)
Bar* _tmp44_;
Bar* _tmp45_;
Bar* _tmp46_;
- Bar* _tmp47_;
_tmp0_ = 1;
_tmp1_ = __int_dup0 (&_tmp0_);
_tmp2_ = 2;
@@ -1548,8 +1547,6 @@ test_array_with_boxed_move (void)
_vala_assert ((*_tmp45_).bar == 1, "a2[2].bar == 1");
_tmp46_ = a2[3];
_vala_assert ((*_tmp46_).bar == 2, "a2[3].bar == 2");
- _tmp47_ = a2[4];
- _vala_assert ((*_tmp47_).bar == 3, "a2[4].bar == 3");
a2 = (_vala_array_free (a2, a2_length1, (GDestroyNotify) bar_free), NULL);
a1 = (_vala_array_free (a1, a1_length1, (GDestroyNotify) g_free), NULL);
}
@@ -1864,6 +1861,7 @@ _vala_main (void)
test_explicit_copying ();
test_array_with_simple_move ();
test_array_with_struct_move ();
+ test_array_with_boxed_move ();
test_array_resize ();
test_struct_array ();
test_fixed_array ();
diff --git a/tests/basic-types/arrays.vala b/tests/basic-types/arrays.vala
index 195d648e3..0c5be6564 100644
--- a/tests/basic-types/arrays.vala
+++ b/tests/basic-types/arrays.vala
@@ -327,7 +327,7 @@ void main () {
test_explicit_copying ();
test_array_with_simple_move ();
test_array_with_struct_move ();
- //FIXME test_array_with_boxed_move ();
+ test_array_with_boxed_move ();
test_array_resize ();
test_struct_array ();
test_fixed_array ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]