Skip to content

Commit

Permalink
fix: use platform specific class in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
theseion authored and fniephaus committed Feb 9, 2024
1 parent 61bdb1a commit 4839b1f
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
testing
testAuthor
| currentAuthor |
currentAuthor := SmalltalkCI getAuthor.
currentAuthor := SmalltalkCI platformClass getAuthor.

[
SmalltalkCI basicNew initialize.
self deny: SmalltalkCI defaultAuthor isNil.
SmalltalkCI platformClass: nil.
self deny: SmalltalkCI platformClass defaultAuthor isNil.
] ensure: [
SmalltalkCI setAuthor: currentAuthor.
self assert: SmalltalkCI getAuthor equals: currentAuthor ]
SmalltalkCI platformClass setAuthor: currentAuthor.
self assert: SmalltalkCI platformClass getAuthor equals: currentAuthor ]

0 comments on commit 4839b1f

Please sign in to comment.