<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>.emacs.d/Rakefile</filename>
    </added>
    <added>
      <filename>.emacs.d/mode-unit.el</filename>
    </added>
    <added>
      <filename>.emacs.d/ruby_mode_sample.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -107,14 +107,14 @@
    ;; must use princ to take advantage of with-output-to-temp-buffer
    (princ &quot;some crap&quot;))
 
-(save-window-excursion
- (elunit &quot;sample-suite&quot;)
- (assert-in-buffer &quot;some crap&quot; &quot;*elunit*&quot;))
+;;; Moved to mode-unit.
 
-;; report successes with dots
+;; (save-window-excursion
+;;  (elunit &quot;sample-suite&quot;)
+;;  (assert-in-buffer &quot;some crap&quot; &quot;*elunit*&quot;))
 
-(save-window-excursion
-  (elunit &quot;meta-suite&quot;)
-  (assert-in-buffer &quot;..&quot; &quot;*elunit*&quot;))
+;; ;; report successes with dots
 
-(elunit-quiet &quot;meta-suite&quot;)
\ No newline at end of file
+;; (save-window-excursion
+;;   (elunit &quot;meta-suite&quot;)
+;;   (assert-in-buffer &quot;..&quot; &quot;*elunit*&quot;))
\ No newline at end of file</diff>
      <filename>.emacs.d/elunit-test.el</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,6 @@
 ;;; elunit.el --- Emacs Lisp Unit Testing framework
 
-;; Copyright (C) 2006 - 2007 Phil Hagelberg
+;; Copyright (C) 2006 - 2008 Phil Hagelberg
 
 ;; Author: Phil Hagelberg &lt;technomancy@gmail.com&gt;
 ;; URL: http://www.emacswiki.org/cgi-bin/wiki/ElUnit
@@ -70,9 +70,8 @@
 
 ;;; Code:
 
-(eval-when-compile
-  (require 'cl)
-  (require 'compile))
+(require 'cl)
+(require 'compile)
 
 (defstruct test-suite name children tests setup-hook teardown-hook)
 (defstruct test name body file line message problem)
@@ -326,38 +325,6 @@ Takes the same ARGS as `error'.&quot;
 		       ,@body
 		       (eval ,form))))
 
-;; Buffer-specific assertions
-
-(defun assert-in-buffer (target &amp;optional buffer)
-  &quot;Fails if TARGET is not a string found in current buffer or BUFFER.&quot;
-  (save-window-excursion
-    (if buffer (switch-to-buffer buffer))
-    (goto-char (point-min))
-    (unless (search-forward target nil t)
-      (fail &quot;%s expected to be found in buffer %s&quot; target buffer))))
-
-(defun assert-background (target face &amp;optional buffer)
-  &quot;Fails if TARGET is not rendered in FACE face.
-
-May be passed BUFFER, otherwise defaults to current buffer.&quot;
-  (save-window-excursion
-    (if buffer (switch-to-buffer buffer))
-    (goto-char (point-min))
-    (unless (search-forward target nil t)
-      (fail &quot;%s expected to be found in buffer %s&quot; target buffer))
-    (unless (equal face (get-text-property (point) 'background))
-      (fail &quot;%s expected to be displayed with face %s&quot; target face))))
-
-(defun assert-overlay (pos)
-  &quot;Fails if overlay is not present at POS.&quot;
-  (unless (overlays-at pos)
-    (fail &quot;Expected overlay at position %d&quot; pos)))
-
-(defun assert-no-overlay (pos)
-  &quot;Fails if overlay is present at POS.&quot;
-  (if (overlays-at pos)
-    (fail &quot;Expected no overlay at position %d&quot; pos)))
-
 (provide 'elunit)
 
 ;;; elunit.el ends here
\ No newline at end of file</diff>
      <filename>.emacs.d/elunit.el</filename>
    </modified>
    <modified>
      <diff>@@ -14,7 +14,7 @@
 
 ;;; Todo:
 
-;; set interpreter-mode-alist with autoload?
+;; set auto-mode-alist and interpreter-mode-alist with autoload?
 ;; various docstrings labelled below with TODOs
 ;; Taken from Ruby SVN revision 16028; need to port recent changes.
 </diff>
      <filename>.emacs.d/ruby-mode.el</filename>
    </modified>
    <modified>
      <diff>@@ -3,7 +3,6 @@
 !.bash_profile
 !.bashrc
 !.devilspie/*
-!.emacs
 !.emacs.d/*
 !.eshell/*
 !.feeds.opml</diff>
      <filename>.gitignore</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>574812f140cf1ba1164b45d4a32fbdbf091537cb</id>
    </parent>
  </parents>
  <author>
    <name>Phil Hagelberg</name>
    <email>technomancy@gmail.com</email>
  </author>
  <url>http://github.com/technomancy/dotfiles/commit/11c1e7edcfd4368f76f6680b0c5f92746f3113c3</url>
  <id>11c1e7edcfd4368f76f6680b0c5f92746f3113c3</id>
  <committed-date>2008-06-11T18:08:24-07:00</committed-date>
  <authored-date>2008-06-11T18:08:24-07:00</authored-date>
  <message>added mode-unit</message>
  <tree>4672b63c105d03719511944967c25dc2fbb1797e</tree>
  <committer>
    <name>Phil Hagelberg</name>
    <email>technomancy@gmail.com</email>
  </committer>
</commit>
