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
/
LongMethod
/
longmethod.nit
diff --git
a/tests/TestNitsmells/LongMethod/longmethod.nit
b/tests/TestNitsmells/LongMethod/longmethod.nit
index
584ef44
..
b9db6b5
100644
(file)
--- a/
tests/TestNitsmells/LongMethod/longmethod.nit
+++ b/
tests/TestNitsmells/LongMethod/longmethod.nit
@@
-35,4
+35,11
@@
class LongMethodClass
var starter = new Starter
test_variable = 3
end
-end
\ No newline at end of file
+
+ fun extra_long_method do
+ var starter = new Starter
+ test_variable = 3
+ test_variable = 5
+ test_variable = 8
+ end
+end