more varargs runtime test

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4579 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2003-03-19 20:50:54 +00:00
commit 437e503be9
2 changed files with 9 additions and 2 deletions

View file

@ -4,7 +4,11 @@ if Varargs.test("Hello") != "Hello"
raise RuntimeError, "Failed"
end
f = Varargs::Foo.new
f = Varargs::Foo.new("Greetings")
if f.str != "Greetings"
raise RuntimeError, "Failed"
end
if f.test("Hello") != "Hello"
raise RuntimeError, "Failed"
end