const
	labyParser  = require('../lib/parser'),
	expect		= require('chai').expect;
	

describe('Icarus', function(){
	it('should throw an error if there is a line which has indents gap more than 2.', function(){
	    var errorStr = '\t\tCONTEXT: should not have gap more than 2.';
	    
		var labyStr =   'DESCRIBE: Indents\n'+
					    errorStr;
		
		expect(labyParser.parse.bind(null, labyStr)).to.throw(Error, 'Invalid indents. '+errorStr);
	});
	
	it('should throw an error if there is an line which has no key.', function(){
	    var errorStr = 'should have a key not like me.';
		
		var labyStr =	'DESCRIBE: Lines\n'+
						errorStr;
						
		expect(labyParser.parse.bind(null, labyStr)).to.throw(Error, 'Invalid line. '+errorStr);
	});
    
    
});
@@ -424,21 +424,10 @@
 dent
-s. '+errorStr
+.'
 );%0A%09
@@ -709,19 +709,9 @@
 ine.
- '+errorStr
+'
 );%0A%09

Modify test specs with correct error messages.