Skip to content

Commit

Permalink
Add license test
Browse files Browse the repository at this point in the history
  • Loading branch information
makenowjust committed Oct 30, 2018
1 parent 3b9be7f commit 8757c0d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/license_test.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
require_relative "test_helper"

describe "license" do
it "'bashcached --license' output is same as LICENSE files" do
skip "this spec is not related to memcached" if TEST_MEMCACHED

license = "#{File.read("LICENSE.md")}\n#{File.read("LICENSE.🍣.md")}"
output = `./bashcached --license`
license.must_equal output
end
end

0 comments on commit 8757c0d

Please sign in to comment.