Nitsmell : Adding new code smells and print console updated
[nit.git] / tests / TestNitsmells / LongParameterList / longparameterlist.nit
index 6988536..df05354 100644 (file)
@@ -20,7 +20,7 @@ import platform
 class Starter
        fun no_para do end
 
-       fun no_para2() do end
+       fun no_para2 do end
 end
 
 class Test
@@ -31,4 +31,8 @@ class Test
        fun long_list_parameter(numbers : Int, para1 : Bool, para2 : Float, para3 : Int, para4 : Starter) do
                var starter = new Starter
        end
+
+       fun extra_long_list_parameter(numbers : Int, para1 : Bool, para2 : Float, para3 : Int, para4 : Starter,para5 : Int, para6 : Int) do
+               var starter = new Starter
+       end
 end