Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Enable class method tests

  • Loading branch information...
commit 9a5ed6a92ec9cda27d6ef9274858740143284aae 1 parent c864772
Tony Arcieri authored
Showing with 7 additions and 10 deletions.
  1. +6 −9 test/core/class_test.re
  2. +1 −1  test/runner.re
View
15 test/core/class_test.re
@@ -1,19 +1,16 @@
#
# class_test.re: tests for Reia's classes
-# Copyright (C)2008-10 Tony Arcieri
+# Copyright (C)2010 Tony Arcieri
#
# Redistribution is permitted under the MIT license. See LICENSE for details.
#
-class IHasSingleton
- def self.example1
+class IHasClassMethods
+ def self.foo
+ :class_method
end
- class self
- def example2
- end
-
- def example3
- end
+ def foo
+ :instance_method
end
end
View
2  test/runner.re
@@ -14,7 +14,7 @@ tests = [
"range", "regexp", "numeric", "dict", "atom", "fun"
]),
("core", [
- "blocks", "branching", "funrefs", "object", #"class",
+ "blocks", "branching", "funrefs", "object", "class",
"operator", "exception", "messaging"
]),
("lib", ["json"])
Please sign in to comment.
Something went wrong with that request. Please try again.