fix runtest to match new rule for enums

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8483 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-01-19 04:54:19 +00:00
commit 12eff10b64

View file

@ -63,15 +63,15 @@ if Naming::constants.include?("Color")
raise RuntimeError, "Color enum should not be exposed to Ruby"
end
if Naming::RED != 0
if Naming::Red != 0
raise RuntimeError, "Incorrect value for enum RED"
end
if Naming::GREEN != 1
if Naming::Green != 1
raise RuntimeError, "Incorrect value for enum GREEN"
end
if Naming::BLUE != 2
if Naming::Blue != 2
raise RuntimeError, "Incorrect value for enum BLUE"
end