JavaLookupTests.st
branchdevelopment
changeset 1886 746919e0fc34
parent 1856 f2e8307a717f
child 1893 167f2898b9ad
--- a/JavaLookupTests.st	Sat Dec 15 23:25:19 2012 +0100
+++ b/JavaLookupTests.st	Sun Dec 16 11:53:36 2012 +0100
@@ -242,6 +242,14 @@
     "Created: / 05-09-2011 / 20:18:30 / Jan Kurs <kursjan@fit.cvut.cz>"
 !
 
+testPassingNilAsParameter
+    "nil should match any formal argument object type (so should not match primitives)"
+    
+    self assert: (self javaTestClass new overloadedMethod: nil) = 3.
+
+    "Created: / 16-12-2012 / 11:35:14 / Marcel Hlopko <marcel.hlopko@fit.cvut.cz>"
+!
+
 testSayHello
     self assert: (self javaTestClass new sayHello = 'hello').
 
@@ -377,6 +385,11 @@
 
 !JavaLookupTests class methodsFor:'documentation'!
 
+version_HG
+
+    ^ '$Changeset: <not expanded> $'
+!
+
 version_SVN
-    ^ '$Id$'
+    ^ '§Id§'
 ! !