mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Store md5 in samples db
This commit is contained in:
@@ -18,7 +18,7 @@ class TestClassifier < Test::Unit::TestCase
|
||||
|
||||
def test_instance_freshness
|
||||
# Just warn, it shouldn't scare people off by breaking the build.
|
||||
if Samples.outdated?
|
||||
if Samples::DATA['md5'] != Samples.data['md5']
|
||||
warn "Classifier database is out of date. Run `bundle exec rake classifier`."
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user