Skip to content

Commit 026c637

Browse files
author
Johan Brichau
committed
Fix package test
1 parent 1f93dc5 commit 026c637

File tree

1 file changed

+19
-13
lines changed

1 file changed

+19
-13
lines changed

repository/Grease-Core.package/GRPackage.class/instance/resolveWith..st

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,22 @@ resolveWith: aDictionary
55
aDictionary at: each ifAbsent: [
66
"if Foo-Pharo-Bar fails try Foo-Pharo20-Bar and Foo-Pharo30-Bar"
77
(each indexOfSubCollection: '-Pharo-' startingAt: 1) ~= 0 ifTrue: [
8-
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo60-') ifAbsent: [
9-
"try -Pharo70-"
10-
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo70-') ifAbsent: [
11-
"try -Pharo90-"
12-
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo90-') ifAbsent: [
13-
"try -Squeak-"
14-
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak-') ifAbsent: [
15-
"try -Squeak5-"
16-
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak5-') ifAbsent: [
17-
"try -Squeak6-"
18-
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak6-') ifAbsent: [
19-
aDictionary at: (each copyReplaceAll: 'Grease-Pharo-Slime' with: 'Grease-Slime') ifAbsent: [
20-
self error: self name printString , ' depends on unknown package ' , each printString ] ] ] ] ] ] ] ] ] ]
8+
"try -Pharo40-"
9+
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo40-') ifAbsent: [
10+
"try -Pharo50-"
11+
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo50-') ifAbsent: [
12+
"try -Pharo60-"
13+
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo60-') ifAbsent: [
14+
"try -Pharo70-"
15+
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo70-') ifAbsent: [
16+
"try -Pharo90-"
17+
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo90-') ifAbsent: [
18+
"try -Squeak-"
19+
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak-') ifAbsent: [
20+
"try -Squeak5-"
21+
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak5-') ifAbsent: [
22+
"try -Squeak6-"
23+
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak6-') ifAbsent: [
24+
"specific for Grease-Slime"
25+
aDictionary at: (each copyReplaceAll: 'Grease-Pharo-Slime' with: 'Grease-Slime') ifAbsent: [
26+
self error: self name printString , ' depends on unknown package ' , each printString ] ] ] ] ] ] ] ] ] ] ] ]

0 commit comments

Comments
 (0)