var test=require("tape"),parse=require("../");test("long opts",function(e){e.deepEqual(parse(["--bool"]),{bool:!0,_:[]},"long boolean");e.deepEqual(parse(["--pow","xixxle"]),{pow:"xixxle",_:[]},"long capture sp");e.deepEqual(parse(["--pow=xixxle"]),{pow:"xixxle",_:[]},"long capture eq");e.deepEqual(parse(["--host","localhost","--port","555"]),{host:"localhost",port:555,_:[]},"long captures sp");e.deepEqual(parse(["--host=localhost","--port=555"]),{host:"localhost",port:555,_:[]},"long captures eq");e.end()});