 
 
 test "allow_double_underscore_in_pattern", ->
-    eq docopt('usage: prog [-o] [--] <arg>\n\n-o',
-           {'argv': '-- -o'}), new Dict([['-o', false], ['<arg>', '-o']])
+    eq(
+        docopt(
+            'usage: prog [-o] [--] <arg>\n\n-o',
+            'argv': '-- -o'
+        )
+        new Dict [
+            ['-o', false]
+            ['<arg>', '-o']
+        ]
+    )
 
 
 test "allow_empty_pattern", ->
-    docopt('usage: prog', {'argv': ' '})
+    docopt(
+        'usage: prog'
+        argv: ' '
+    )
 
 
 test "docopt", ->
     doc = '''Usage: prog [-v] A
 
     -v  Be verbose.'''
-    #eq docopt(doc, {'argv': 'arg'}), new Dict([['-v', false], ['A', 'arg']])
-    eq docopt(doc, {'argv': '-v arg'}), new Dict([['-v', true], ['A', 'arg']])
+    eq(
+        docopt(
+            doc
+            argv: 'arg'
+        )
+        new Dict [
+            ['-v', false]
+            ['A', 'arg']
+        ]
+    )
+    eq(
+        docopt(
+            doc
+            argv: '-v arg'
+        )
+        new Dict [
+            ['-v', true]
+            ['A', 'arg']
+        ]
+    )
 
     doc = """Usage: prog [-vqr] [FILE]
               prog INPUT OUTPUT



test "parse_pattern", ->
    o = [new Option('-h'),
         new Option('-v', '--verbose'),
         new Option('-f', '--file', 1)]
    eq(
        parse_pattern('[ -h ]', o),
        new Required [
            new Optional [
                new Option '-h', null, 0, true

    -m <msg>  Message

    """
    eq(
        docopt(
            d
            argv: '-a'
        )
        new Dict [
            ['-m', false]
            ['-a', true]
        ]
    )

`}`

