From c58bc59e5fd39f1869aacedbfd3086323ebdd14e Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sun, 9 Oct 2005 07:58:43 +0000 Subject: [PATCH] fix runtime error (Ruby 1.8.1 doesn't seem to parse this special character) git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7632 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Examples/test-suite/ruby/char_constant_runme.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SWIG/Examples/test-suite/ruby/char_constant_runme.rb b/SWIG/Examples/test-suite/ruby/char_constant_runme.rb index c00941e79..dc29affce 100644 --- a/SWIG/Examples/test-suite/ruby/char_constant_runme.rb +++ b/SWIG/Examples/test-suite/ruby/char_constant_runme.rb @@ -17,7 +17,7 @@ if Char_constant::NULL_CONST != "\000" raise RuntimeError, "Invalid value for NULL_CONST." end -if Char_constant::SPECIALCHAR != 'á' +if Char_constant::SPECIALCHAR != "\341" #'á' raise RuntimeError, "Invalid value for SPECIALCHAR." end