Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add cli test

  • Loading branch information...
commit fc388e0c92ccf33877f91e1dc4f6860c2a99af4d 1 parent ee5e0ba
@grosser authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.