Fix warning and improve description of ignore_parameter test

See https://github.com/swig/swig/pull/2205#issuecomment-1052648190
This commit is contained in:
Seth R Johnson 2022-02-26 19:48:54 -05:00 committed by Olly Betts
commit f4e2a4feee
3 changed files with 6 additions and 0 deletions

View file

@ -25,6 +25,7 @@ raise RuntimeError unless sc.daimler(0, 1.0) == "hello"
raise RuntimeError unless sc.astonmartin("foo", 1.0) == 101
raise RuntimeError unless sc.bugatti("foo", 0) == 8.8
raise RuntimeError unless sc.lamborghini() == 101
raise RuntimeError unless sc.audi() == 8.8
# Constructor tests
MiniCooper.new(0, 1.0)