Browse files

add cli test

  • Loading branch information...
1 parent ee5e0ba commit fc388e0c92ccf33877f91e1dc4f6860c2a99af4d @grosser committed Sep 17, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 test/test_cli.rb
View
7 test/test_cli.rb
@@ -0,0 +1,7 @@
+require 'test/unit'
+
+class TestBlob < Test::Unit::TestCase
+ def test_cli
+ assert_equal "test/fixtures/bar.h: 11 lines (7 sloc)\n extension: .h\n language: C++\n", `bundle exec ruby bin/language_sniffer test/fixtures/bar.h`
+ end
+end

0 comments on commit fc388e0

Please sign in to comment.