X Tutup
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

8 changes: 4 additions & 4 deletions repository/Grease-Core.package/monticello.meta/categories.st
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SystemOrganization addCategory: #'Grease-Core'!
SystemOrganization addCategory: 'Grease-Core-Collections'!
SystemOrganization addCategory: 'Grease-Core-Exceptions'!
SystemOrganization addCategory: 'Grease-Core-Text'!
SystemOrganization addCategory: 'Grease-Core-Utilities'!
SystemOrganization addCategory: #'Grease-Core-Collections'!
SystemOrganization addCategory: #'Grease-Core-Exceptions'!
SystemOrganization addCategory: #'Grease-Core-Text'!
SystemOrganization addCategory: #'Grease-Core-Utilities'!

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ testToDoClosures

| collection |
collection := OrderedCollection new.
1 to: 5 do: [ :each | collection add: [ each ] fixCallbackTemps ].
1 to: 5 do: [ :each | collection add: [ each ] ].
self assert: (collection collect: [ :each | each value ]) asArray = #(1 2 3 4 5)
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ testBlockValuableProtocol
self assert: [ :x | x ] argumentCount = 1.
self assert: [ :a :b | a + b ] argumentCount = 2.
self
shouldnt: [ [ nil ] fixCallbackTemps ]
shouldnt: [ [ nil ] ]
raise: Error.
self
shouldnt: [ [ :x | x ] fixCallbackTemps ]
shouldnt: [ [ :x | x ] ]
raise: Error.
self
shouldnt: [ [ :a :b | a + b ] fixCallbackTemps ]
shouldnt: [ [ :a :b | a + b ] ]
raise: Error

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,10 @@ testMessageSendValueWithPossibleArguments
selector: #+.
self assert: send argumentCount = 1.
self assert: send arguments size = 0.
self assert: send fixCallbackTemps == send.

send := MessageSend
receiver: 1
selector: #+
argument: 2.
self assert: send argumentCount isZero.
self assert: send arguments size = 1.
self assert: send fixCallbackTemps == send
self assert: send arguments size = 1
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,10 @@ testMessageSendValueWithPossibleArguments
selector: #+.
self assert: send argumentCount = 1.
self assert: send arguments size = 0.
self assert: send fixCallbackTemps == send.

send := MessageSend
receiver: 1
selector: #+
argument: 2.
self assert: send argumentCount isZero.
self assert: send arguments size = 1.
self assert: send fixCallbackTemps == send
self assert: send arguments size = 1
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,10 @@ testMessageSendValueWithPossibleArguments
selector: #+.
self assert: send argumentCount = 1.
self assert: send arguments size = 0.
self assert: send fixCallbackTemps == send.

send := MessageSend
receiver: 1
selector: #+
argument: 2.
self assert: send argumentCount isZero.
self assert: send arguments size = 1.
self assert: send fixCallbackTemps == send
self assert: send arguments size = 1
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,10 @@ testMessageSendValueWithPossibleArguments
selector: #+.
self assert: send argumentCount = 1.
self assert: send arguments size = 0.
self assert: send fixCallbackTemps == send.

send := MessageSend
receiver: 1
selector: #+
argument: 2.
self assert: send argumentCount isZero.
self assert: send arguments size = 1.
self assert: send fixCallbackTemps == send
self assert: send arguments size = 1
X Tutup