 test "color on both, message missing: a {blue} -> b {red}", ->
 	parsedBit = @monkey.parseLine("a {blue} -> b {red}")
 	equal parsedBit.arrow.type, ""
-	equal parsedBit.arrow.head, "classic"
+	equal parsedBit.arrow.headRight, "classic"
+	equal parsedBit.arrow.headLeft, "none"
 	equal parsedBit.arrow.message, ""
 	equal parsedBit.first.name, "a"
 	equal parsedBit.first.colour, "blue"

test "color on first, message missing: a {red} -> b", ->
	parsedBit = @monkey.parseLine("a {red} -> b")
	equal parsedBit.arrow.type, ""
	equal parsedBit.arrow.head, "classic"
	equal parsedBit.arrow.message, ""
	equal parsedBit.first.name, "a"
	equal parsedBit.first.colour, "red"

test "no colour", ->
	equal false, @monkey.hasColour("a -> b : c")

module "weird syntax",
	setup: -> 
		@monkey = new Parser()

test "standalone: a  b", ->
	parsedBit = @monkey.parseLine("a b")
	equal parsedBit.arrow.type, ""
	equal parsedBit.arrow.headRight, ""
	equal parsedBit.arrow.headLeft, ""
	equal parsedBit.arrow.message, ""
	equal parsedBit.first.name, "a b"
	equal parsedBit.first.colour, ""
