nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Nitsmell : Adding new code smells and print console updated
[nit.git]
/
tests
/
TestNitsmells
/
LongParameterList
/
longparameterlist.nit
diff --git
a/tests/TestNitsmells/LongParameterList/longparameterlist.nit
b/tests/TestNitsmells/LongParameterList/longparameterlist.nit
index
6988536
..
df05354
100644
(file)
--- a/
tests/TestNitsmells/LongParameterList/longparameterlist.nit
+++ b/
tests/TestNitsmells/LongParameterList/longparameterlist.nit
@@
-20,7
+20,7
@@
import platform
class Starter
fun no_para do end
class Starter
fun no_para do end
- fun no_para2() do end
+ fun no_para2 do end
end
class Test
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 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
end