Skip to content

Commit

Permalink
fixed bug and set linter rule to "dont"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zyranix committed Jun 25, 2021
1 parent 543e355 commit 55239a7
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ ui
changeToOverView

| newView |
self myDependents do: [:aDependent | self removeDependent: aDependent].
(self standardMorphs noneSatisfy: [:each | (each class = category defaultMorph class)])
ifTrue: [self defaultMorphs removeKey: self actualDefaultMorph].
newView := MEXToolOverView new.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"category" : "FFN 5/9/2019 10:09",
"category:" : "FFN 5/9/2019 10:09",
"changeCurrentDefaultMorph:withSelectedMethods:" : "SH 5/20/2021 14:46",
"changeToOverView" : "PC 6/21/2021 20:19",
"changeToOverView" : "SC 6/25/2021 19:13",
"clearPlayground" : "FFN 7/11/2019 13:54",
"createDefaultMorphBox" : "PC 6/17/2021 17:47",
"createMorphPlayground" : "FFN 7/6/2019 23:49",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
},
"instance" : {
"getMethodTreeFor:" : "SH 6/10/2021 19:20",
"getMorphCollectionInDefaultMorphBoxFor:" : " 6/21/2021 23:30:36",
"getMorphCollectionInDefaultMorphBoxFor:" : "6/21/2021 23:30:36",
"newMorphs" : "lk 7/24/2019 15:03",
"sampleCode" : "lk 7/24/2019 15:11",
"setUp" : "lk 7/24/2019 16:15",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ excludedRules
#smallLintSendsDifferentSuper .
#smallLintBadMessage .
#smallLintUtilityMethods .
#collectionProtocolRule:} asOrderedCollection
#collectionProtocolRule: .
#smallLintAddRemoveDependents} asOrderedCollection
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
test-for-possible-bugs
dontTestAddDependantMethodsLessOrEqualThanRemoveDependents
"we add dependents in MEXExplorationView but need these also in MEXOverView, so we can't remove them manually"

self assertAllAreZero: (self runLinterRule: #smallLintAddRemoveDependents)

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"class" : {
"excludedRules" : "SC 6/21/2021 23:59",
"excludedRules" : "SC 6/25/2021 19:16",
"isLoggingEnabled" : "SC 6/21/2021 23:09",
"isLoggingVerbose" : "SC 6/21/2021 23:09",
"mexCorePackage" : "SC 6/14/2021 10:00",
Expand Down Expand Up @@ -31,6 +31,7 @@
"classes" : "mg 6/5/2020 11:49",
"classes:" : "mg 6/5/2020 11:49",
"defaultTimeout" : "SC 6/15/2021 22:58",
"dontTestAddDependantMethodsLessOrEqualThanRemoveDependents" : "SC 6/25/2021 19:15",
"dontTestArgumentVariableNames" : "SC 6/15/2021 23:53",
"dontTestDataClass" : "SC 6/15/2021 22:39",
"dontTestInconsistentMethodClassification" : "SC 6/15/2021 23:43",
Expand All @@ -45,7 +46,6 @@
"logProblemsOf:InTest:" : "SC 6/22/2021 00:18",
"runLinterRule:" : "SC 6/21/2021 23:10",
"setUp" : "SC 6/16/2021 05:58",
"testAddDependantMethodsLessOrEqualThanRemoveDependents" : "PC 6/21/2021 20:19",
"testAllDontTestsForConsoleOutputOnly" : "SC 6/21/2021 23:10",
"testArithmeticPrecedenceRule" : "mg 7/15/2020 20:11",
"testAsOrderedCollectionAsArrayNotNeeded" : "mg 7/15/2020 20:11",
Expand Down

0 comments on commit 55239a7

Please sign in to comment.