-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
In KoanAboutSymbols, test05symbolsCanBeMadeFromStrings and test06symbolsWithSpacesCanBeMade both show the creation of symbols with spaces (#'Cats and dogs'). The syntax (#'...') is first shown in the latter, leaving the student alone in figuring it out in the former. Also, the two tests are almost redundant.
A potential fix might be showing the creation of symbols without spaces from strings in the former (e. g. #Cats == 'Cats' asSymbol), while keeping the latter as it is. This way, the student doesn't need to figure out new syntax, because #Smalltalk (no space) is shown in the first test, and the symbol-with-spaces syntax is still shown in the latter for completeness.
Metadata
Metadata
Assignees
Labels
No labels