Browse Source

Use packageAt:ifAbsent: in chunk exporter.

#packageAt: is deprecated.
Herbert Vojčík 6 years ago
parent
commit
a1a90cc606
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Silk-Tests.st

+ 1 - 1
src/Silk-Tests.st

@@ -1,5 +1,5 @@
 Smalltalk createPackage: 'Silk-Tests'!
-(Smalltalk packageAt: 'Silk-Tests') imports: {'amber/jquery/Wrappers-JQuery'}!
+(Smalltalk packageAt: 'Silk-Tests' ifAbsent: [ self error: 'Package not created: Silk-Tests' ]) imports: {'amber/jquery/Wrappers-JQuery'}!
 DOMiteTest subclass: #SilkInheritedTest
 	instanceVariableNames: ''
 	package: 'Silk-Tests'!