diff options
author | Olly Betts <olly@survex.com> | 2022-07-22 17:44:45 +1200 |
---|---|---|
committer | Olly Betts <olly@survex.com> | 2022-07-22 17:50:47 +1200 |
commit | 0e0f283e48ed4e0bbb79355b610ef2d025e86f9a (patch) | |
tree | e1458105bce69657f0fa9521dfcff0b31c34a032 /Examples/test-suite/octave | |
parent | 2aa979b7a03694e4f7346a4e63604298ba30d4b0 (diff) | |
download | swig-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.m | 2 |
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 |