     document.getBlockOnLine(1).moveTo document.getBlockOnLine(0).end.prev.container.start
 
     strictEqual document.stringify(), '''
-    console.log (for i in [1..10]
-      console.log hello)
+    console.log for i in [1..10]
+      console.log hello
     ''', 'Move for into socket (req. paren wrap)'
 
   test 'Paren wrap', ->

        fd 10
      ''', '''
      <block color="control" precedence="0">unless <socket precedence="0">true</socket><indent depth="2">
      <block color="command" precedence="0">fd <socket precedence="0">10</socket></block></indent></block>
      '''

    testString 'One-line if statement',

        fd 10
      ''', '''
      <block color="control" precedence="0">for <socket precedence="0">i</socket> in <socket precedence="0">list</socket><indent depth="2">
      <block color="command" precedence="0">fd <socket precedence="-1">10</socket></block></indent></block>
      '''

    testString 'One-line for-in',
      'for i in list then fd 10'
      '<block color="control" precedence="0">for <socket precedence="0">i</socket> in <socket precedence="0">list</socket> then <socket precedence="0"><block color="command" precedence="0">fd <socket precedence="-1">10</socket></block></socket></block>'

    testString 'Inverted one-line for-in',
      'fd 10 for i in list',
      '<block color="control" precedence="0"><socket precedence="0"><block color="command" precedence="0">fd <socket precedence="-1">10</socket></block></socket> for <socket precedence="0">i</socket> in <socket precedence="0">list</socket></block>'

    testString 'Semicolons at the root',
      'fd 10; bk 10',
      '<block color="command" precedence="0"><socket precedence="0">'+
      '<block color="command" precedence="0">fd <socket precedence="-1">10</socket></block>'+
      '</socket>; <socket precedence="0">'+
      '<block color="command" precedence="0">bk <socket precedence="0">10</socket></block></socket></block>'

