Hello,

I have now a exercise where I have to change a list to a string with the 
last item is the word "liftoff!"

So I did this :

def liftoff(instructions)
   instructions.sort! { |n1,n2| n2 <=> n1}
   uitkomst = instructions.each { |nummer| nummer.to_s}.join(" ")+ 
"liftoff!"
end

and if I test it with real  numbers it does the trick.
But if I test it with assert_equals :

Test.assert_equals("10 9 8 7 6 5 4 3 2 1 liftoff!", liftoff 
[8,1,10,2,7,9,6,3,4,5] )

I see this error message :

-e:7: syntax error, unexpected [, expecting keyword_do or '{' or '(' ... 
5 4 3 2 1 liftoff!", liftoff [8,1,10,2,7,9,6,3,4,5] ) ... ^ -e:7: syntax 
error, unexpected ')', expecting end-of-input

Roelof