Added version_to_list() regression test for found error.

This commit is contained in:
Revar Desmera 2019-11-05 17:35:58 -08:00
parent 6100cae586
commit 948e76d992
2 changed files with 2 additions and 1 deletions

View file

@ -43,6 +43,7 @@ module test_version_to_list() {
assert(version_to_list(2.010001)==[2,1,1]);
assert(version_to_list("2.1.1")==[2,1,1]);
assert(version_to_list([2,1,1])==[2,1,1]);
assert(version_to_list(2.010035)==[2,1,35]);
assert(version_to_list(2.345678)==[2,34,5678]);
assert(version_to_list("2.34.5678")==[2,34,5678]);
assert(version_to_list([2,34,5678])==[2,34,5678]);

View file

@ -8,7 +8,7 @@
//////////////////////////////////////////////////////////////////////
BOSL_VERSION = [2,0,4];
BOSL_VERSION = [2,0,5];
// Section: BOSL Library Version Functions