Skip to content

Commit

Permalink
package: keyword in Ring definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-krivanek committed Sep 11, 2019
1 parent 098a6e9 commit e73f36f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Ring-Core/RGClassStrategy.class.st
Expand Up @@ -309,7 +309,7 @@ RGClassStrategy >> definitionWithSlots [
poolString = '' ifFalse: [
aStream cr; tab; nextPutAll: 'poolDictionaries: ';
store: poolString].
aStream cr; tab; nextPutAll: 'category: ';
aStream cr; tab; nextPutAll: 'package: ';
store: self category asString.

self owner superclass ifNil: [
Expand Down
2 changes: 1 addition & 1 deletion src/Ring-Core/RGTraitStrategy.class.st
Expand Up @@ -116,7 +116,7 @@ RGTraitStrategy >> definition [
store: self owner name.
stream cr; tab; nextPutAll: 'uses: ';
nextPutAll: self owner traitCompositionString.
stream cr; tab; nextPutAll: 'category: ';
stream cr; tab; nextPutAll: 'package: ';
store: self owner category asString].
]

Expand Down
6 changes: 3 additions & 3 deletions src/Ring-Tests-ChunkImporter/Ring2ChunkImporterTest.class.st
Expand Up @@ -225,7 +225,7 @@ someMethod
^true! !
Trait named: #TBehavior
uses: {}
category: ''Traits-Kernel-Traits''!' readStream.
package: ''Traits-Kernel-Traits''!' readStream.

trait := importer environment ask behaviorNamed: #'TBehavior classTrait'.
self assert: trait notNil.
Expand All @@ -249,7 +249,7 @@ someMethod
^true! !
Trait named: #TBehavior
uses: {}
category: ''Traits-Kernel-Traits''!' readStream.
package: ''Traits-Kernel-Traits''!' readStream.

trait := importer environment ask behaviorNamed: #TBehavior.
self assert: trait notNil.
Expand Down Expand Up @@ -808,7 +808,7 @@ Ring2ChunkImporterTest >> testStandardTraitWithSingleTrait [

importer fileInFrom: 'Trait named: #TClass
uses: TBehaviorCategorization
category: ''Traits-Kernel-Traits''' readStream.
package: ''Traits-Kernel-Traits''' readStream.

trait := importer environment ask behaviorNamed: #TClass.
self assert: trait notNil.
Expand Down

0 comments on commit e73f36f

Please sign in to comment.