We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bf54ec commit b0d0149Copy full SHA for b0d0149
1 file changed
repository/Grease-Tests-Pharo-Core.package/GRPharoPlatformTest.class/instance/testDeprecationExceptionSet.st
@@ -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