* Tests of proper error reporting by the GXP compiler relating to calls.
*/
public class CallErrorTest extends BaseTestCase {
public void testCall_invalidCallee() throws Exception {
compile("<call:ham-and-eggs/>");
assertAlert(new InvalidNameError(pos(2, 1), "ham-and-eggs"));
assertNoUnexpectedAlerts();
compile("<call:dots..dots/>");
assertAlert(new InvalidNameError(pos(2, 1), "dots..dots"));
assertNoUnexpectedAlerts();
}