Vadim Markovtsev
250519bb51
Add the external test linguist dir from env var
...
This allows to use a cached directory with linguist instead of cloning and speeds up the tests by -10s on my local machine.
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
2017-09-28 23:51:38 +02:00
Alexander Bezzubov
3303cf7824
Fix 🐛 on file starting with single shebang
2017-07-25 10:37:11 +02:00
Manuel Carmona
510c430fd0
fixed some tests that were not using a temp-linguist-repo
2017-07-18 13:31:34 +02:00
Manuel Carmona
d8798c2dd9
binary files are returned as OtherLanguage by GetLanguage
2017-07-04 11:38:43 +02:00
David Paz
3f2248084e
Moved commit.go to data directory
2017-06-28 11:22:42 +02:00
Manuel Carmona
b7d4be5fdd
commit against tests run is fixed
...
renamed tmpLinguist to repoLinguist and SimpleLinguistTestSuite to EnryTestSuit in common_test.go
changed receiver's name for TestSuites to 's'
fixed comments
2017-06-26 15:35:53 +02:00
Manuel Carmona
bea1bc3af8
split GetLanguage into GetLanguage and GetLanguages
2017-06-15 13:02:59 +02:00
Manuel Carmona
beda5b73e7
changed signatures for strategies
2017-06-15 10:07:23 +02:00
Manuel Carmona
5f0e92b1a8
changed test LinguistCorpus to use GetLanguage and fail if not assert
2017-06-15 10:07:23 +02:00
Manuel Carmona
ba53e10c7b
renamed package and cli to enry
2017-06-13 14:18:23 +02:00
Manuel Carmona
0d5dff1979
changes in the API, ready to version 2
2017-06-06 11:30:23 +02:00
Manuel Carmona
5b304524d1
Rearranged code
2017-06-02 09:33:55 +02:00
Máximo Cuadros
2bbd7ec440
unified GetLanguage function
2016-07-18 16:20:12 +02:00
Máximo Cuadros
bead3a606f
tests
2016-07-13 22:21:18 +02:00