<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -93,4 +93,15 @@
           (set tester ((SomeObject alloc) init))
           (assert_equal &quot;Hello, there!&quot; (tester greeting))
           (tester setGreeting:&quot;Howdy!&quot;)
-          (assert_equal &quot;Howdy!&quot; (tester greeting))))
+          (assert_equal &quot;Howdy!&quot; (tester greeting)))
+     
+     (imethod (id) testExceptionInMacro is
+          # template contains an undefined symbol, watch the exceptions thrown by each macro call
+          (set string &quot;&lt;%= (+ 2 x) %&gt;&quot;)
+          (load &quot;template&quot;)
+          (assert_throws &quot;NuUndefinedSymbol&quot;
+               (macro-0 undefined0 (eval (NuTemplate codeForString:(eval (margs car)))))
+               (undefined0 string))
+          (assert_throws &quot;NuUndefinedSymbol&quot;
+               (macro-1 undefined1 (string) `(eval (NuTemplate codeForString:,string)))
+               (undefined1 string))))</diff>
      <filename>test/test_macros.nu</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a4d79fb3e5945875978f7fe03b7c9e6d3767a146</id>
    </parent>
  </parents>
  <author>
    <name>Tim Burks</name>
    <email>tim@neontology.com</email>
  </author>
  <url>http://github.com/timburks/nu/commit/50b2dea243072add2e14ead5fef3dd39cb68d79f</url>
  <id>50b2dea243072add2e14ead5fef3dd39cb68d79f</id>
  <committed-date>2009-05-30T22:37:01-07:00</committed-date>
  <authored-date>2009-05-30T22:37:01-07:00</authored-date>
  <message>Added unit test showing exceptions being thrown in macro evaluation.</message>
  <tree>f163a861a86ddd6c09ed3021ca7e5f617a831385</tree>
  <committer>
    <name>Tim Burks</name>
    <email>tim@neontology.com</email>
  </committer>
</commit>
