diff options
Diffstat (limited to 'Examples/test-suite/ruby/li_std_string_runme.rb')
-rw-r--r-- | Examples/test-suite/ruby/li_std_string_runme.rb | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/Examples/test-suite/ruby/li_std_string_runme.rb b/Examples/test-suite/ruby/li_std_string_runme.rb index c964808fa..36824a4d7 100644 --- a/Examples/test-suite/ruby/li_std_string_runme.rb +++ b/Examples/test-suite/ruby/li_std_string_runme.rb @@ -131,17 +131,25 @@ if (stdstring_empty() != "") raise RuntimeError end -if (c_empty() != "") +if (c_empty() != "") raise RuntimeError end -if (c_null() != nil) +if (c_null() != nil) raise RuntimeError end -if (get_null(c_null()) != nil) +if (get_null(c_null()) != nil) raise RuntimeError end + +if (get_null(c_empty()) != "non-null") + raise RuntimeError +end + +if (get_null(stdstring_empty()) != "non-null") + raise RuntimeError +end |