Modified: MacRuby/trunk/test-macruby/known_bugs.rb (780 => 781)
--- MacRuby/trunk/test-macruby/known_bugs.rb 2009-01-07 13:57:21 UTC (rev 780)
+++ MacRuby/trunk/test-macruby/known_bugs.rb 2009-01-07 15:13:25 UTC (rev 781)
@@ -1,6 +1,7 @@
#!/usr/local/bin/macruby
require "test/unit"
+framework 'Cocoa'
module KnownBugs
class TestYaml < Test::Unit::TestCase
@@ -120,4 +121,11 @@
end
end
end
+
+ class TestBooleanComparison < Test::Unit::TestCase
+ def test_NSCFBoolean_comparison_to_Ruby_bool
+ assert_equal true, NSNumber.numberWithBool(true)
+ assert_equal false, NSNumber.numberWithBool(false)
+ end
+ end
end
\ No newline at end of file