Skip to content

Commit

Permalink
[PreSmalltalks] put space around . in {nil.nil.nil}
Browse files Browse the repository at this point in the history
This commit simply replaces `{nil.nil.nil}` with `{nil. nil. nil}`
as Smalltalk/X parser misinterprets dot without space as namespace
separator.
  • Loading branch information
janvrany committed Nov 13, 2023
1 parent 1885beb commit 5accc57
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions PreSmalltalks-Tests/SubableTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ Class {

{ #category : #'tests - 3 nils' }
SubableTest >> test3NilsSubst [
self assert: ({nil.nil.nil} subst: #meaninglessSubst) equals: {nil.nil.nil}
self assert: ({nil. nil. nil} subst: #meaninglessSubst) equals: {nil. nil. nil}
]

{ #category : #'tests - 3 nils' }
SubableTest >> test3NilsSubsta [
self assert: ({nil.nil.nil} subst: #meaninglessSubsta) equals: {nil.nil.nil}
self assert: ({nil. nil. nil} subst: #meaninglessSubsta) equals: {nil. nil. nil}
]

{ #category : #'tests - 3 nils' }
SubableTest >> test3NilsSubstf [
self assert: ({nil.nil.nil} subst: #meaninglessSubstf) equals: {nil.nil.nil}
self assert: ({nil. nil. nil} subst: #meaninglessSubstf) equals: {nil. nil. nil}
]

{ #category : #'tests - 3 nils' }
SubableTest >> test3NilsSyms [
self assert: {nil.nil.nil} syms isEmpty
self assert: {nil. nil. nil} syms isEmpty
]

{ #category : #'tests - collection' }
Expand Down

0 comments on commit 5accc57

Please sign in to comment.