package cases;

class Issue7946 extends DisplayTestCase {
	/**
		{-1-}open{-2-} haxe.Json;
	**/
	function test1() {
		arrayEq([
			{
				kind: DKParserError,
				severity: Error,
				code: null,
				range: diagnosticsRange(pos(1), pos(2)),
				relatedInformation: [],
				args: "Unexpected open"
			}
		], diagnostics());
	}

	/**
		{-1-}clas{-2-} Test {}
	**/
	function test() {
		arrayEq([
			{
				kind: DKParserError,
				severity: Error,
				code: null,
				range: diagnosticsRange(pos(1), pos(2)),
				relatedInformation: [],
				args: "Unexpected clas"
			}
		], diagnostics());
	}
}
