Skip to content
Browse files

add cli test

  • Loading branch information...
1 parent 8453c93 commit 2d3325bdea5799cb5328b08467768b54d8306021 @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 2d3325b

Please sign in to comment.
Something went wrong with that request. Please try again.