Moved ec_git_vsn tests into separate file

This commit is contained in:
Ariel Otilibili 2024-07-18 23:18:07 +02:00
parent a54f0623c5
commit d24ad72034
2 changed files with 20 additions and 13 deletions

13
test/ec_git_vsn_tests.erl Normal file
View file

@ -0,0 +1,13 @@
%%% @copyright 2024 Erlware, LLC.
-module(ec_git_vsn_tests).
-include_lib("eunit/include/eunit.hrl").
parse_tags_test() ->
?assertEqual({undefined, ""}, ec_git_vsn:parse_tags("a.b.c")).
get_patch_count_test() ->
?assertEqual(0, ec_git_vsn:get_patch_count("a.b.c")).
collect_default_refcount_test() ->
?assertMatch({"", _, _}, ec_git_vsn:collect_default_refcount("a.b.c")).