Author: reebalazs
Date: Wed Aug 29 11:17:54 2007
New Revision: 46139

Modified:
   kukit/kukit.js/trunk/tests/test_tokenizer.js
Log:
Replace string exceptions with proper ones

Modified: kukit/kukit.js/trunk/tests/test_tokenizer.js
==============================================================================
--- kukit/kukit.js/trunk/tests/test_tokenizer.js        (original)
+++ kukit/kukit.js/trunk/tests/test_tokenizer.js        Wed Aug 29 11:17:54 2007
@@ -84,7 +84,7 @@
             return; }
         var exc = null;
         try {
-            throw kukit.err.tk.ParsingError('Error happened');
+            throw kukit.err.parsingError('Error happened');
         } catch(e) {
             exc = e;
         }
@@ -105,7 +105,7 @@
         var cursor = new kukit.tk.Cursor('1234\n1234\n1234\n1234\n');
         var marker = cursor.makeMarker(13);
         try {
-            throw kukit.err.tk.ParsingError('Error happened', marker);
+            throw kukit.err.parsingError('Error happened', marker);
         } catch(e) {
             exc = e;
         }
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins

Reply via email to