From 5e428fb1a81a141f39b521194a45641ed30044b9 Mon Sep 17 00:00:00 2001 From: Vincent COUVERT Date: Mon, 1 Jun 2015 16:12:26 +0200 Subject: [PATCH] Add new assert check Change-Id: Ia5229c2d94518a4927644a0a0ea63b0aba55c5da --- .../tests/nonreg_tests/bug_9669.dia.ref | 1 + .../tests/nonreg_tests/bug_9669.tst | 1 + 2 files changed, 2 insertions(+) diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_9669.dia.ref b/scilab/modules/data_structures/tests/nonreg_tests/bug_9669.dia.ref index 415e75d..747527a 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_9669.dia.ref +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_9669.dia.ref @@ -15,6 +15,7 @@ // Without copy st.a = 1; st.b = st; +assert_checkequal(st.b.a, 1); // With copy clear st st.a = 1; diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_9669.tst b/scilab/modules/data_structures/tests/nonreg_tests/bug_9669.tst index 42631c7..95b6060 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_9669.tst +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_9669.tst @@ -18,6 +18,7 @@ // Without copy st.a = 1; st.b = st; +assert_checkequal(st.b.a, 1); // With copy clear st -- 1.7.9.5