X Tutup
Skip to content

Commit b0d0149

Browse files
committed
Add test for Pharo deprecation
1 parent 3bf54ec commit b0d0149

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
tests
2+
testDeprecationExceptionSet
3+
| value |
4+
value := [
5+
"intentially send Pharo instead of Grease deprecation message"
6+
self deprecated: 'test'.
7+
'failed' ]
8+
on: GRDeprecatedApiNotification, GRPlatform current deprecationExceptionSet
9+
do: [ :e | 'passed' ].
10+
self assert: value = 'passed'

0 commit comments

Comments
 (0)
X Tutup