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:
parent
c4d06926a2
commit
12eff10b64
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue