summaryrefslogtreecommitdiff
path: root/Examples/test-suite/octave
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2022-07-22 17:44:45 +1200
committerOlly Betts <olly@survex.com>2022-07-22 17:50:47 +1200
commit0e0f283e48ed4e0bbb79355b610ef2d025e86f9a (patch)
treee1458105bce69657f0fa9521dfcff0b31c34a032 /Examples/test-suite/octave
parent2aa979b7a03694e4f7346a4e63604298ba30d4b0 (diff)
downloadswig-0e0f283e48ed4e0bbb79355b610ef2d025e86f9a.tar.gz
Fix friends_runme.*
Most of these test D_d twice when they really should be testing D_d once and D_i once (the variable name is `di` and the values assigned are integers). This was wrong in the initial version for Python in 708021a809a566a410ec0e6bf5c63029392315e1 and it looks like subsequent additions for other languages have just copied that mistake.
Diffstat (limited to 'Examples/test-suite/octave')
-rw-r--r--Examples/test-suite/octave/friends_runme.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/test-suite/octave/friends_runme.m b/Examples/test-suite/octave/friends_runme.m
index 50a5b20ef..163f05b8d 100644
--- a/Examples/test-suite/octave/friends_runme.m
+++ b/Examples/test-suite/octave/friends_runme.m
@@ -29,7 +29,7 @@ if (friends.mix(a,b) != 5)
error("failed");
endif
-di = friends.D_d(2);
+di = friends.D_i(2);
dd = friends.D_d(3.3);
# incredible template overloading working just fine