Skip to content

Commit

Permalink
add cli test
Browse files Browse the repository at this point in the history
  • Loading branch information
grosser committed Sep 17, 2011
1 parent 8453c93 commit 2d3325b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/test_cli.rb
Original file line number Diff line number Diff line change
@@ -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.