Skip to content

Commit

Permalink
Made ‘preTestingPharo.st’ ensure there are no #asJson methods on Dict…
Browse files Browse the repository at this point in the history
…ionary, OrderedDictionary and SequenceableCollection when testing on Glamorous Toolkit (see issue #1433, “Implementations of #asJson in Seaside and GToolkit conflict”).
  • Loading branch information
Rinzwind committed Jul 16, 2024
1 parent 85ec264 commit c0e63ad
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/preTestingPharo.st
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
Deprecation activateTransformations: false.
Deprecation activateTransformations: false.
(Smalltalk hasClassNamed: 'GtImageSetup') ifTrue: [
{ Dictionary. OrderedDictionary. SequenceableCollection } do: [ :class |
(class includesSelector: #asJson) ifTrue: [
class removeSelector: #asJson ] ] ].

0 comments on commit c0e63ad

Please sign in to comment.